Skip to content

Commit 7c15cef

Browse files
authored
v0.1.1 (#12)
* fix(logout): remove returning of promise (handled by Cypress) - #9 * fix(callFirestore): support calling `update` by passing data - #10, #11 - @bettinatop22 * feat(docs): add full example for `callFirestore` - #7, #8 - @axacheng
1 parent e8c8fe9 commit 7c15cef

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cypress-firebase",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Utilities to help testing Firebase projects with Cypress.",
55
"main": "lib/index.js",
66
"module": "lib/index.js",

src/attachCustomCommands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function({ Cypress, cy, firebase }) {
5050
cy.log('Current user already logged out.');
5151
} else {
5252
cy.log('Current user exists, logging out...');
53-
return firebase.auth().signOut();
53+
firebase.auth().signOut();
5454
}
5555
});
5656

src/filePaths.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import path from 'path';
22
import {
33
DEFAULT_BASE_PATH,
44
FIREBASE_CONFIG_FILE_NAME,
5+
DEFAULT_TEST_FOLDER_PATH,
56
DEFAULT_CONFIG_FILE_NAME,
67
DEFAULT_TEST_ENV_FILE_NAME,
78
DEFAULT_TEST_CONFIG_FILE_NAME,
@@ -21,5 +22,6 @@ export const TEST_ENV_FILE_PATH = path.join(
2122
);
2223
export const LOCAL_CONFIG_FILE_PATH = path.join(
2324
DEFAULT_BASE_PATH,
25+
DEFAULT_TEST_FOLDER_PATH,
2426
DEFAULT_CONFIG_FILE_NAME,
2527
);

0 commit comments

Comments
 (0)