Skip to content

Commit

Permalink
test: note snapshot determinism test must track SES shim etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 2, 2021
1 parent f896fdd commit 825c15b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/SwingSet/test/test-xsnap-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ test('create SES worker, save, restore, resume', async t => {
t.pass();
});

/**
* The snapshot hashes in this test are, naturally,
* sensitive to any changes in bundle-ses-boot.umd.js;
* that is: any changes to the SES shim or to the
* xsnap-worker supervisor.
*/
test('XS + SES snapshots are deterministic', async t => {
const pool = tmp.dirSync({ unsafeCleanup: true });
t.teardown(() => pool.removeCallback());
Expand Down

0 comments on commit 825c15b

Please sign in to comment.