File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ class Bring {
185185 /**
186186 * Load translation file e. g. via 'de-DE'
187187 * @param {string } locale from which country translations will be loaded
188- * @return @return {Promise<json> } catalog
188+ * @return {Promise<json> } catalog
189189 */
190190 async loadCatalog ( locale ) {
191191 try {
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ describe(`Wrong login test`, () => {
1313 try {
1414 await bring . login ( ) ;
1515 } catch ( e ) {
16- if ( e . message . includes ( `email password combination not existing` ) ) {
17- return Promise . resolve ( ) ;
16+ if ( ! e . message . includes ( `email password combination not existing` ) ) {
17+ throw new Error ( `Wrong rejection message on login: ${ e . message } ` ) ;
1818 }
1919 }
2020 } ) ;
You can’t perform that action at this time.
0 commit comments