Last active
November 30, 2018 20:07
-
-
Save prescottprue/b63ef6f6bc9f15b7301c366974054ff9 to your computer and use it in GitHub Desktop.
Cypress plugin file for setting baseUrl to localhost or firebase url.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cypressFirebasePlugin = require('cypress-firebase').plugin | |
module.exports = (on, config) => { | |
// `on` is used to hook into various events Cypress emits | |
// `config` is the resolved Cypress config | |
// Return extended config (with settings from .firebaserc) | |
return cypressFirebasePlugin(config) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment