Skip to content

Commit

Permalink
fix assert.async()
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed May 10, 2023
1 parent dc62a81 commit 087f934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scriptlets/prevent-fetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ if (!isSupported) {
const TEST_FILE_NAME = 'test01.json';
const INPUT_JSON_PATH_1 = `${FETCH_OBJECTS_PATH}/${TEST_FILE_NAME}`;
const inputRequest1 = new Request(INPUT_JSON_PATH_1);
const done = assert.async(1);
const done = assert.async();

runScriptlet(name, ['*']);

Expand Down Expand Up @@ -358,7 +358,7 @@ if (!isSupported) {
const TEST_RESPONSE_TYPE = 'opaque';
const INPUT_JSON_PATH_1 = `${FETCH_OBJECTS_PATH}/${TEST_FILE_NAME}`;
const inputRequest1 = new Request(INPUT_JSON_PATH_1);
const done = assert.async(1);
const done = assert.async();

runScriptlet(name, ['*', 'emptyArr', TEST_RESPONSE_TYPE]);

Expand Down

0 comments on commit 087f934

Please sign in to comment.