From 00619c68dbf16d78483b92e79cc0a0fc46eab161 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Sun, 16 Jun 2024 14:03:11 -0700 Subject: [PATCH] fixup! moved from #9513 --- packages/xsnap/test/boot-lockdown.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/xsnap/test/boot-lockdown.test.js b/packages/xsnap/test/boot-lockdown.test.js index 189afd7458c..c5ebfc49124 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,9 @@ test('console - objects should include detail', async t => { Error('oops!'), ]; - const { Fail } = assert; + // Using `globalThis.assert` because of delayed SES lockdown + // See https://github.com/Agoric/agoric-sdk/issues/9515 + const { Fail } = globalThis.assert; try { Fail`assertion text ${richStructure}`;