mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: update package json and remove empty exports (#2625)
* Removes exports statements in e2e tests * Updates package.json to optionally use heroku url for e2e tests when running locally
This commit is contained in:
parent
d69ca0a508
commit
928b3515dc
@ -1,7 +1,5 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
export {};
|
||||
|
||||
const ENTERPRISE = Boolean(Cypress.env('ENTERPRISE'));
|
||||
const randomId = String(Math.random()).split('.')[1];
|
||||
const featureToggleName = `unleash-e2e-${randomId}`;
|
||||
|
@ -1,6 +1,5 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
export {};
|
||||
const baseUrl = Cypress.config().baseUrl;
|
||||
const randomId = String(Math.random()).split('.')[1];
|
||||
const groupName = `unleash-e2e-${randomId}`;
|
||||
|
@ -10,7 +10,6 @@ import {
|
||||
PA_USERS_GROUPS_TITLE_ID,
|
||||
} from '../../../src/utils/testIds';
|
||||
|
||||
export {};
|
||||
const baseUrl = Cypress.config().baseUrl;
|
||||
const randomId = String(Math.random()).split('.')[1];
|
||||
const groupAndProjectName = `group-e2e-${randomId}`;
|
||||
|
@ -1,6 +1,5 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
export {};
|
||||
const randomId = String(Math.random()).split('.')[1];
|
||||
const segmentName = `unleash-e2e-${randomId}`;
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
"fmt:check": "prettier src --check",
|
||||
"ts:check": "tsc",
|
||||
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
||||
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com",
|
||||
"e2e:heroku": "yarn run cypress open --config baseUrl='https://unleash.herokuapp.com' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
||||
"prepare": "yarn run build"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user