We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 510de0f commit c5a3bc9Copy full SHA for c5a3bc9
test/unit/util.js
@@ -40,15 +40,3 @@ exports.MockAssetManager = class MockAssetManager extends AssetManager {
40
exports.makeBundle = function makeBundle(code, { compact } = {}) {
41
return compact ? code.trim() : `${code.trim()}\n`;
42
};
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