Skip to content

Commit

Permalink
pull in globals for test globals
Browse files Browse the repository at this point in the history
  • Loading branch information
nikrom17 committed Apr 26, 2024
1 parent cdd4fc1 commit 7c628c7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test/globals.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
import { __ZOID__, __POST_ROBOT__ } from "../globals";

export const fundingEligibility = {
bancontact: {
Expand Down Expand Up @@ -92,19 +93,21 @@ export const testGlobals = {
},
},

__PAYPAL_CHECKOUT__: {
__REMEMBERED_FUNDING__: (): string =>
"window.__TEST_REMEMBERED_FUNDING__ || []",
},

__ZOID__: {
...__ZOID__,
__SCRIPT_NAMESPACE__: false,
},

__POST_ROBOT__: {
...__POST_ROBOT__,
__SCRIPT_NAMESPACE__: false,
},

__PAYPAL_CHECKOUT__: {
__REMEMBERED_FUNDING__: (): string =>
"window.__TEST_REMEMBERED_FUNDING__ || []",
},

__PORT__: 8000,
__STAGE_HOST__: "sandbox.paypal.com",
__HOST__: "test.paypal.com",
Expand Down

0 comments on commit 7c628c7

Please sign in to comment.