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
8 changes: 4 additions & 4 deletions client/packages/cli/__tests__/authClientAddGoogle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,11 @@ describe('web: dev credentials', () => {
const output = logs.join('\n');
expect(output).toContain('Credentials: Instant dev credentials');
expect(output).toContain('No Google Console setup required');
expect(output).toContain('Ready for production? Run:');
expect(output).not.toContain('For production');
expect(output).toContain(
'For production, use your own Google OAuth credentials.',
'instant-cli auth client update --name google-web',
);
expect(output).not.toContain('instant-cli auth client update');
expect(output).not.toContain('Add this redirect URI in Google Console');
});

Expand All @@ -287,9 +288,8 @@ describe('web: dev credentials', () => {
expect(output).toContain('Credentials: Instant dev credentials');
expect(output).toContain('No Google Console setup required');
expect(output).toContain(
'For production, use your own Google OAuth credentials.',
'instant-cli auth client update --name google-web',
);
expect(output).not.toContain('instant-cli auth client update');
expect(output).not.toContain('Add this redirect URI in Google Console');
});

Expand Down
Loading
Loading