diff --git a/packages/xsnap/test/boot-lockdown.test.js b/packages/xsnap/test/boot-lockdown.test.js index 189afd7458c..99e58a82926 100644 --- a/packages/xsnap/test/boot-lockdown.test.js +++ b/packages/xsnap/test/boot-lockdown.test.js @@ -1,3 +1,5 @@ +/* global globalThis */ + import test from 'ava'; import * as proc from 'child_process'; @@ -173,7 +175,8 @@ test('console - objects should include detail', async t => { Error('oops!'), ]; - const { Fail } = assert; + // Using `globalThis.assert` because of delayed SES lockdown + const { Fail } = globalThis.assert; try { Fail`assertion text ${richStructure}`;