feat: add tests (#843)
This commit is contained in:
parent
95a2af2535
commit
9dd9a9898c
35 changed files with 1063 additions and 191 deletions
7
lib/constants.ts
Normal file
7
lib/constants.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export const isProductionEnvironment = process.env.NODE_ENV === 'production';
|
||||
|
||||
export const isTestEnvironment = Boolean(
|
||||
process.env.PLAYWRIGHT_TEST_BASE_URL ||
|
||||
process.env.PLAYWRIGHT ||
|
||||
process.env.CI_PLAYWRIGHT,
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue