diff --git a/src/lib/app/util/log/no-console.test.ts b/src/lib/app/util/log/no-console.test.ts index 0950c3fe..995d37f6 100644 --- a/src/lib/app/util/log/no-console.test.ts +++ b/src/lib/app/util/log/no-console.test.ts @@ -86,7 +86,7 @@ describe('no-console fence', () => { [HOOKS], ])('reports console.error in %s', async (from) => { expect(await reportsConsole(from)).toBe(true) - }) + }, 30_000) it.each([ // The logger itself is the one place allowed to reach a console. @@ -96,5 +96,5 @@ describe('no-console fence', () => { [APP_TEST], ])('allows console.error in %s', async (from) => { expect(await reportsConsole(from)).toBe(false) - }) + }, 30_000) }) diff --git a/src/lib/ui/kit/layering.test.ts b/src/lib/ui/kit/layering.test.ts index b6505233..cd38a143 100644 --- a/src/lib/ui/kit/layering.test.ts +++ b/src/lib/ui/kit/layering.test.ts @@ -82,7 +82,7 @@ describe('layering rule', () => { [ROUTE, '$lib/server/session'], ])('blocks %s importing %s', async (from, specifier) => { expect(await isBlocked(from, specifier)).toBe(true) - }) + }, 30_000) it.each([ [KIT, './helper'], @@ -101,7 +101,7 @@ describe('layering rule', () => { [API, '$lib/app/state/auth.svelte'], ])('allows %s importing %s', async (from, specifier) => { expect(await isBlocked(from, specifier)).toBe(false) - }) + }, 30_000) it('allows type-only imports from a forbidden layer', async () => { expect(await isBlocked(APP, '$lib/server/session', true)).toBe(false)