Revert "Further dependency cleanup"

This reverts commit 1725ff434e.
This commit is contained in:
timvisee
2022-09-04 12:26:07 +02:00
parent 08f597405c
commit 1da317bcc1
4 changed files with 139 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ module.exports = function() {
const files = fs
.readdirSync(path.join(__dirname, 'tests'))
.filter(p => /\.js$/.test(p));
const code = files.map(kv).join(';\n');
const code = "require('fast-text-encoding');\n" + files.map(kv).join(';\n');
return {
code,
dependencies: files.map(f => require.resolve('./tests/' + f)),