Merge pull request #12257 from harryadel/underscore/ecmascript

[ecmascript] Remove underscore
This commit is contained in:
Gabriel Grubba
2022-10-24 12:01:36 -03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ Package.onUse(function(api) {
});
Package.onTest(function(api) {
api.use(['tinytest', 'underscore']);
api.use(['tinytest']);
api.use(['es5-shim', 'ecmascript', 'babel-compiler']);
api.addFiles('runtime-tests.js');
api.addFiles('transpilation-tests.js', 'server');

View File

@@ -216,7 +216,7 @@ Tinytest.add('ecmascript - runtime - block scope', test => {
});
}
_.each(thunks, f => f());
thunks.forEach(f => f());
test.equal(buf, [0, 1, 2]);
}
});