Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/fix-tanstack-loadoptions-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion integration/tests/tanstack-start/keyless.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ test.describe('Keyless mode @tanstack-react-start', () => {
const response = await page.goto(`${app.serverUrl}/`);
expect(response?.status()).toBe(500);
expect(app.devOutput).toContain('Missing secretKey');
expect(app.devOutput).toContain('npx clerk@latest init');
expect(app.devOutput).toContain('npx clerk@latest link');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ describe('loadOptions', () => {
['only the secret key is missing', { publishableKey: 'pk_test_Zm9vLWJhci0xMi5jbGVyay5hY2NvdW50cy5kZXYk' }],
['both keys are missing', {}],
])('throws the CLI-pointing error when %s', (_, overrides) => {
expect(() => loadOptions(request, overrides)).toThrow(/Missing secretKey[\s\S]*npx clerk@latest init/);
expect(() => loadOptions(request, overrides)).toThrow(/Missing secretKey[\s\S]*npx clerk@latest link/);
});
});
Loading