Skip to content

Commit bbe2fa3

Browse files
committed
test
1 parent 9cb6a6e commit bbe2fa3

File tree

12 files changed

+206
-312
lines changed

12 files changed

+206
-312
lines changed

packages/flags/src/sveltekit/index.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
import { expect, it, describe } from 'vitest';
1+
import { expect, it, describe, vi } from 'vitest';
22
import { getProviderData, flag } from '.';
33

4+
vi.mock('$env/dynamic/private', () => ({ FLAGS_SECRET: 'secret' }));
5+
46
describe('getProviderData', () => {
57
it('is a function', () => {
68
expect(typeof getProviderData).toBe('function');

0 commit comments

Comments
 (0)