Skip to content

Commit 9197bde

Browse files
committed
fix test
1 parent 19be6a8 commit 9197bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-inspector-dom-storage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
const common = require('../common');
55
const assert = require('assert');
6+
common.skipIfInspectorDisabled();
67
const { DOMStorage, Session } = require('node:inspector/promises');
78

8-
common.skipIfInspectorDisabled();
99

1010
async function test() {
1111
const session = new Session();
1212
await session.connect();
1313

1414
// Check disabled before enable
15-
session
15+
await session
1616
.post('DOMStorage.getDOMStorageItems', {
1717
storageId: {
1818
isLocalStorage: true,

0 commit comments

Comments
 (0)