Skip to content

Commit

Permalink
fixup! moved from #9513
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jun 16, 2024
1 parent ae69296 commit 0dc6ce1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/xsnap/test/boot-lockdown.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* global globalThis */

import test from 'ava';

import * as proc from 'child_process';
Expand Down Expand Up @@ -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}`;
Expand Down

0 comments on commit 0dc6ce1

Please sign in to comment.