cypress-firebase
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -16,3 +16,3 @@ export interface CypressEnvironmentOptions { | ||
} | ||
export type ExtendedCypressConfig = Partial<Cypress.PluginConfigOptions> & ExtendedCypressConfigBase; | ||
export type ExtendedCypressConfig = Cypress.PluginConfigOptions & ExtendedCypressConfigBase; | ||
export interface ExtendWithFirebaseConfigSettings { | ||
@@ -30,2 +30,2 @@ localBaseUrl?: string; | ||
*/ | ||
export default function extendWithFirebaseConfig(cypressConfig: Partial<Cypress.PluginConfigOptions>): ExtendedCypressConfig; | ||
export default function extendWithFirebaseConfig(cypressConfig: Cypress.PluginConfigOptions): ExtendedCypressConfig; |
@@ -15,2 +15,2 @@ import type { AppOptions } from 'firebase-admin'; | ||
*/ | ||
export default function pluginWithTasks(cypressOnFunc: Cypress.PluginEvents, cypressConfig: Partial<Cypress.PluginConfigOptions>, adminInstance: any, overrideConfig?: AppOptions): ExtendedCypressConfig; | ||
export default function pluginWithTasks(cypressOnFunc: Cypress.PluginEvents, cypressConfig: Cypress.PluginConfigOptions, adminInstance: any, overrideConfig?: AppOptions): ExtendedCypressConfig; |
@@ -16,3 +16,3 @@ export interface CypressEnvironmentOptions { | ||
} | ||
export type ExtendedCypressConfig = Partial<Cypress.PluginConfigOptions> & ExtendedCypressConfigBase; | ||
export type ExtendedCypressConfig = Cypress.PluginConfigOptions & ExtendedCypressConfigBase; | ||
export interface ExtendWithFirebaseConfigSettings { | ||
@@ -30,2 +30,2 @@ localBaseUrl?: string; | ||
*/ | ||
export default function extendWithFirebaseConfig(cypressConfig: Partial<Cypress.PluginConfigOptions>): ExtendedCypressConfig; | ||
export default function extendWithFirebaseConfig(cypressConfig: Cypress.PluginConfigOptions): ExtendedCypressConfig; |
@@ -15,2 +15,2 @@ import type { AppOptions } from 'firebase-admin'; | ||
*/ | ||
export default function pluginWithTasks(cypressOnFunc: Cypress.PluginEvents, cypressConfig: Partial<Cypress.PluginConfigOptions>, adminInstance: any, overrideConfig?: AppOptions): ExtendedCypressConfig; | ||
export default function pluginWithTasks(cypressOnFunc: Cypress.PluginEvents, cypressConfig: Cypress.PluginConfigOptions, adminInstance: any, overrideConfig?: AppOptions): ExtendedCypressConfig; |
{ | ||
"name": "cypress-firebase", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Utilities to help testing Firebase projects with Cypress.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -44,6 +44,6 @@ # cypress-firebase | ||
const cypressConfig = defineConfig({ | ||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: 'http://localhost:3000', | ||
// NOTE: Make supportFile exists if separate location is provided | ||
// NOTE: Add "supportFile" setting if separate location is used | ||
setupNodeEvents(on, config) { | ||
@@ -57,4 +57,2 @@ // e2e testing node events setup code | ||
}); | ||
export default cypressConfig; | ||
``` | ||
@@ -61,0 +59,0 @@ |
126636
833