Skip to content

Commit

Permalink
removing test for reverted feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Mar 24, 2021
1 parent e180226 commit 0a79415
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test-scenarios/static-import-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function staticImportTest(project: Project) {
import moment from 'moment';
import { computed } from '@ember/object';
import myAliased from 'my-aliased-package';
import aliasedDeeperNamed from 'my-aliased-package/deeper/named';
import fromScoped from '@ef4/scoped-lib';
export default Component.extend({
Expand All @@ -47,10 +46,6 @@ function staticImportTest(project: Project) {
return myAliased();
}),
prefixAliasedResult: computed(function () {
return aliasedDeeperNamed();
}),
fromScoped: computed(function () {
return fromScoped();
}),
Expand All @@ -76,7 +71,6 @@ function staticImportTest(project: Project) {
<div class="hello-world">{{formattedDate}}</div>
<div class="lodash">{{#if lodashPresent}}yes{{else}}no{{/if}}</div>
<div class="aliased">{{aliasedResult}}</div>
<div class="prefix-aliased">{{prefixAliasedResult}}</div>
<div class="scoped">{{fromScoped}}</div>
`,
},
Expand Down Expand Up @@ -104,11 +98,6 @@ function staticImportTest(project: Project) {
assert.equal(document.querySelector('.aliased').textContent.trim(), 'original-package');
});
test('using a prefix match aliased module', async function (assert) {
await render(hbs('{{hello-world}}'));
assert.equal(document.querySelector('.prefix-aliased').textContent.trim(), 'deeper/named');
});
test('using a scoped module', async function (assert) {
await render(hbs('{{hello-world}}'));
assert.equal(document.querySelector('.scoped').textContent.trim(), 'this-is-from-ef4-scoped');
Expand Down Expand Up @@ -148,9 +137,6 @@ function staticImportTest(project: Project) {
module.exports = function() {
return 'original-package';
}`,
deeper: {
'named.js': `module.exports = function() { return "deeper/named" };`,
},
},
});

Expand Down

0 comments on commit 0a79415

Please sign in to comment.