diff --git a/test-e2e/manager-basic.js b/test-e2e/manager-basic.js index fc1f82763..8b06b227c 100644 --- a/test-e2e/manager-basic.js +++ b/test-e2e/manager-basic.js @@ -373,7 +373,6 @@ test('Consistent storage folders', async (t) => { await project.$getOwnRole() } - // @ts-ignore snapshot() is missing from typedefs t.snapshot(storageNames.sort()) }) diff --git a/types/brittle.d.ts b/types/brittle.d.ts index 767ff6790..166122d64 100644 --- a/types/brittle.d.ts +++ b/types/brittle.d.ts @@ -53,6 +53,7 @@ declare module 'brittle' { fail(message?: string): void exception: ExceptionAssertion execution(fn: T | Promise, message?: string): Promise + snapshot(actual: unknown, message?: string): void } interface TestOptions {