aboutsummaryrefslogtreecommitdiff
path: root/test/tests/testpkg
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/testpkg')
-rw-r--r--test/tests/testpkg/depcache-test.js1
-rw-r--r--test/tests/testpkg/dir/index.js2
-rw-r--r--test/tests/testpkg/dir/self-load.js2
-rw-r--r--test/tests/testpkg/dir2/index.json3
-rw-r--r--test/tests/testpkg/env-module-browser.js1
-rw-r--r--test/tests/testpkg/env-module.js1
-rw-r--r--test/tests/testpkg/index.js1
-rw-r--r--test/tests/testpkg/interpolate.js1
-rw-r--r--test/tests/testpkg/json.js4
-rw-r--r--test/tests/testpkg/json.json3
-rw-r--r--test/tests/testpkg/polate.js1
-rw-r--r--test/tests/testpkg/self-load.js2
-rw-r--r--test/tests/testpkg/self.js1
-rw-r--r--test/tests/testpkg/system.json28
-rw-r--r--test/tests/testpkg/test.ts1
15 files changed, 0 insertions, 52 deletions
diff --git a/test/tests/testpkg/depcache-test.js b/test/tests/testpkg/depcache-test.js
deleted file mode 100644
index d88fb1bde..000000000
--- a/test/tests/testpkg/depcache-test.js
+++ /dev/null
@@ -1 +0,0 @@
-(typeof window != 'undefined' ? window : global).depCacheTest = 'passed';
diff --git a/test/tests/testpkg/dir/index.js b/test/tests/testpkg/dir/index.js
deleted file mode 100644
index cef6cd572..000000000
--- a/test/tests/testpkg/dir/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-require('./self-load.js');
-module.exports = 'dirindex'; \ No newline at end of file
diff --git a/test/tests/testpkg/dir/self-load.js b/test/tests/testpkg/dir/self-load.js
deleted file mode 100644
index c6a24bda6..000000000
--- a/test/tests/testpkg/dir/self-load.js
+++ /dev/null
@@ -1,2 +0,0 @@
-exports.a = require('..');
-exports.b = require('../'); \ No newline at end of file
diff --git a/test/tests/testpkg/dir2/index.json b/test/tests/testpkg/dir2/index.json
deleted file mode 100644
index 07bd1b14d..000000000
--- a/test/tests/testpkg/dir2/index.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "json": "index"
-} \ No newline at end of file
diff --git a/test/tests/testpkg/env-module-browser.js b/test/tests/testpkg/env-module-browser.js
deleted file mode 100644
index e36fe2f1b..000000000
--- a/test/tests/testpkg/env-module-browser.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = 'browser'; \ No newline at end of file
diff --git a/test/tests/testpkg/env-module.js b/test/tests/testpkg/env-module.js
deleted file mode 100644
index 3b25aeee1..000000000
--- a/test/tests/testpkg/env-module.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = 'not browser'; \ No newline at end of file
diff --git a/test/tests/testpkg/index.js b/test/tests/testpkg/index.js
deleted file mode 100644
index 2fc521784..000000000
--- a/test/tests/testpkg/index.js
+++ /dev/null
@@ -1 +0,0 @@
-exports.prop = 'value'; \ No newline at end of file
diff --git a/test/tests/testpkg/interpolate.js b/test/tests/testpkg/interpolate.js
deleted file mode 100644
index d93d44f21..000000000
--- a/test/tests/testpkg/interpolate.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = 'interpolated!'; \ No newline at end of file
diff --git a/test/tests/testpkg/json.js b/test/tests/testpkg/json.js
deleted file mode 100644
index 278833a81..000000000
--- a/test/tests/testpkg/json.js
+++ /dev/null
@@ -1,4 +0,0 @@
-exports.translate = function(load) {
- load.metadata.format = 'cjs';
- return 'module.exports = ' + load.source;
-}; \ No newline at end of file
diff --git a/test/tests/testpkg/json.json b/test/tests/testpkg/json.json
deleted file mode 100644
index 0acdfb14b..000000000
--- a/test/tests/testpkg/json.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "prop": "value"
-} \ No newline at end of file
diff --git a/test/tests/testpkg/polate.js b/test/tests/testpkg/polate.js
deleted file mode 100644
index af567b6bf..000000000
--- a/test/tests/testpkg/polate.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = 'polate'; \ No newline at end of file
diff --git a/test/tests/testpkg/self-load.js b/test/tests/testpkg/self-load.js
deleted file mode 100644
index 1c5617d42..000000000
--- a/test/tests/testpkg/self-load.js
+++ /dev/null
@@ -1,2 +0,0 @@
-exports.a = require('.');
-exports.b = require('./'); \ No newline at end of file
diff --git a/test/tests/testpkg/self.js b/test/tests/testpkg/self.js
deleted file mode 100644
index c543a0725..000000000
--- a/test/tests/testpkg/self.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('testpkg/json'); \ No newline at end of file
diff --git a/test/tests/testpkg/system.json b/test/tests/testpkg/system.json
deleted file mode 100644
index b2092752c..000000000
--- a/test/tests/testpkg/system.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "README": "This is not encouraging a system.json, which is a bad idea.",
-
- "main": ["wrong-main"],
- "format": "cjs",
- "defaultExtension": "js",
- "meta": {
- "*.json": { "loader": "json" },
- "noext": { "alias": "./json.json" },
- "test.ts": true
- },
- "map": {
- "json": "./json.js",
- "./json": "./json.json",
- "./dir/": "./dir/index",
- "./dir2.js": "./dir2/index.json",
- "./dir/test": "global-test",
- "./env-module": {
- "browser": "./env-module-browser.js"
- },
- "p": "./polate.js",
- "./conditional1": "./interpolate.js",
- "./conditional2": "./inter#{p}.js"
- },
- "depCache": {
- "./dir2/index.json": ["../depcache-test"]
- }
-} \ No newline at end of file
diff --git a/test/tests/testpkg/test.ts b/test/tests/testpkg/test.ts
deleted file mode 100644
index 4edba8a31..000000000
--- a/test/tests/testpkg/test.ts
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = 'ts'; \ No newline at end of file