summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/project/documents/cached
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-11-05 12:11:18 +0100
committerGitHub <noreply@github.com>2021-11-05 12:11:18 +0100
commitba9ced3e9a643a05bc521f0a2e6d02e3569de374 (patch)
treedaf7b91d0ac846078de40afba761b8e981a42f56 /tests/staticfiles_tests/project/documents/cached
parentc6c6cd3c5ad9c36795bb120e521590424f034ae4 (diff)
Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage."
This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb. `export` and `import` directives have several syntax variants and not all of them were properly covered. Thanks Hervé Le Roy for the report.
Diffstat (limited to 'tests/staticfiles_tests/project/documents/cached')
-rw-r--r--tests/staticfiles_tests/project/documents/cached/module.js22
-rw-r--r--tests/staticfiles_tests/project/documents/cached/module_test.js5
2 files changed, 0 insertions, 27 deletions
diff --git a/tests/staticfiles_tests/project/documents/cached/module.js b/tests/staticfiles_tests/project/documents/cached/module.js
deleted file mode 100644
index 7380ad7856..0000000000
--- a/tests/staticfiles_tests/project/documents/cached/module.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// Static imports.
-import rootConst from "/static/absolute_root.js";
-import testConst from "./module_test.js";
-import * as NewModule from "./module_test.js";
-import { testConst as alias } from "./module_test.js";
-import { firstConst, secondConst } from "./module_test.js";
-import {
- firstVar as firstVarAlias,
- secondVar as secondVarAlias
-} from "./module_test.js";
-import relativeModule from "../nested/js/nested.js";
-
-// Dynamic imports.
-const dynamicModule = import("./module_test.js");
-
-// Modules exports to aggregate modules.
-export * from "./module_test.js";
-export { testConst } from "./module_test.js";
-export {
- firstVar as firstVarAlias,
- secondVar as secondVarAlias
-} from "./module_test.js";
diff --git a/tests/staticfiles_tests/project/documents/cached/module_test.js b/tests/staticfiles_tests/project/documents/cached/module_test.js
deleted file mode 100644
index b832b4e8a7..0000000000
--- a/tests/staticfiles_tests/project/documents/cached/module_test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export const testConst = "test";
-export const firstConst = "first";
-export const secondConst = "second";
-export var firstVar = "test_1";
-export var SecondVar = "test_2";