Skip to content

Commit 373d788

Browse files
committed
move registerCompletionHandler
1 parent 7dbc3f3 commit 373d788

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/source/test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ const registerCompletionHandler = () => {
6464
});
6565
};
6666

67-
test.before(() => {
68-
registerCompletionHandler();
69-
});
70-
7167
test.beforeEach('set timeout', async t => {
7268
t.timeout(consts.TIMEOUT_EACH_RETRY);
7369
});
@@ -263,3 +259,5 @@ if (testGroup === 'UNIT-TESTS') {
263259
defineSettingsTests(testVariant, testWithBrowser);
264260
defineElementTests(testVariant, testWithBrowser);
265261
}
262+
263+
registerCompletionHandler();

0 commit comments

Comments
 (0)