test(static-module-record): Adopt ses-ava
MODIFY
packages/static-module-record/package.json
packages/static-module-record/package.json
"@agoric/babel-standalone": "^7.9.5"
},
"devDependencies": {
+ "@agoric/ses-ava": "^0.1.1",
"@ava/babel": "^1.0.1",
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-node-resolve": "^6.1.0",

ADD
packages/static-module-record/test/lockdown.js
+import 'ses';
+
+lockdown({
+ errorTaming: 'unsafe',
+ stackFiltering: 'verbose',
+});

MODIFY
packages/static-module-record/test/test-static-module-record.js
packages/static-module-record/test/test-static-module-record.js
// eslint-disable-next-line import/order
import { StaticModuleRecord } from '../src/static-module-record.js';
-import 'ses';
-import test from 'ava';
+import './lockdown.js';
+import avaTest from 'ava';
+import { wrapTest } from '@agoric/ses-ava';
+
+const test = wrapTest(avaTest);
/** @typedef {import('ava').ExecutionContext} TestContext */

test(static-module-record): Adopt ses-ava