From 0a794158a04d73d37f35be6d795d810f724198f6 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Wed, 24 Mar 2021 16:51:17 -0400 Subject: [PATCH] removing test for reverted feature --- test-scenarios/static-import-test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test-scenarios/static-import-test.ts b/test-scenarios/static-import-test.ts index 8452be95d..a0c20b3b9 100644 --- a/test-scenarios/static-import-test.ts +++ b/test-scenarios/static-import-test.ts @@ -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({ @@ -47,10 +46,6 @@ function staticImportTest(project: Project) { return myAliased(); }), - prefixAliasedResult: computed(function () { - return aliasedDeeperNamed(); - }), - fromScoped: computed(function () { return fromScoped(); }), @@ -76,7 +71,6 @@ function staticImportTest(project: Project) {
{{formattedDate}}
{{#if lodashPresent}}yes{{else}}no{{/if}}
{{aliasedResult}}
-
{{prefixAliasedResult}}
{{fromScoped}}
`, }, @@ -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'); @@ -148,9 +137,6 @@ function staticImportTest(project: Project) { module.exports = function() { return 'original-package'; }`, - deeper: { - 'named.js': `module.exports = function() { return "deeper/named" };`, - }, }, });