Skip to content

Commit c5a3bc9

Browse files
moonglumFND
authored andcommitted
removed unused test utility
1 parent 510de0f commit c5a3bc9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/unit/util.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,3 @@ exports.MockAssetManager = class MockAssetManager extends AssetManager {
4040
exports.makeBundle = function makeBundle(code, { compact } = {}) {
4141
return compact ? code.trim() : `${code.trim()}\n`;
4242
};
43-
44-
// returns a function that invokes `callback` only after having itself been
45-
// invoked `total` times
46-
exports.awaitInvocations = function awaitAll(total, callback) {
47-
let i = 0;
48-
return _ => {
49-
i++;
50-
if(i === total) {
51-
callback();
52-
}
53-
};
54-
};

0 commit comments

Comments
 (0)