Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
change expected error to regex
  • Loading branch information
lahirumaramba committed May 28, 2024
commit d35b6909618aad7994f119b617c88da3364d5912
2 changes: 1 addition & 1 deletion test/unit/app/firebase-app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe('FirebaseApp', () => {
process.env[FIREBASE_CONFIG_VAR] = '{,,';
expect(() => {
firebaseNamespace.initializeApp();
}).to.throw('Failed to parse app options file: SyntaxError: Unexpected token ,');
}).to.throw(/Failed to parse app options file: SyntaxError:/);
});

it('should throw when the environment variable points to an empty file', () => {
Expand Down