File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -603,5 +603,6 @@ export const AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY = {
603
603
MISSING_RECAPTCHA_VERSION : 'auth/missing-recaptcha-version' ,
604
604
INVALID_RECAPTCHA_VERSION : 'auth/invalid-recaptcha-version' ,
605
605
INVALID_REQ_TYPE : 'auth/invalid-req-type' ,
606
- INVALID_HOSTING_LINK_DOMAIN : 'auth/invalid-hosting-link-domain'
606
+ INVALID_HOSTING_LINK_DOMAIN : 'auth/invalid-hosting-link-domain' ,
607
+ MISSING_PASSWORD : 'auth/missing-password'
607
608
} as const ;
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
2
+ import { AuthErrorCodes } from '../../../src' ;
3
+
4
+ describe ( 'AuthErrorCodes' , ( ) => {
5
+ it ( 'exports MISSING_PASSWORD' , ( ) => {
6
+ expect ( AuthErrorCodes . MISSING_PASSWORD ) . to . equal ( 'auth/missing-password' ) ;
7
+ } ) ;
8
+ } ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ../../config/tsconfig.base.json" ,
3
3
"compilerOptions" : {
4
- "outDir" : " dist"
4
+ "outDir" : " dist" ,
5
+ "types" : [" mocha" , " chai" ],
6
+ "esModuleInterop" : true ,
7
+ "moduleResolution" : " node" ,
8
+ "resolveJsonModule" : true
5
9
},
6
10
"exclude" : [" dist/**/*" , " demo/**/*" ]
7
11
}
You can’t perform that action at this time.
0 commit comments