Skip to content

Commit

Permalink
Rename check redirect util file
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrosen14 committed Nov 21, 2024
1 parent ee6dc93 commit b50a88d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cypress.config.ts → cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { defineConfig } = require('cypress');
require('dotenv').config({
path: `.env.${process.env.CYPRESS_ENV || 'development'}`
path: `.env.${process.env.STAGE_ENV || 'development'}`
});

module.exports = defineConfig({
Expand All @@ -9,7 +9,6 @@ module.exports = defineConfig({
supportFile: 'cypress/support/e2e.js',
specPattern: 'cypress/tests/**/*.cy.js',
},
video: false,
setupNodeEvents(on, config) {
on('task', {
log(message) {
Expand Down
2 changes: 1 addition & 1 deletion cypress/tests/us/home.cy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { checkCountryRedirect } from "../../utils/checkUSRedirect"
import { checkCountryRedirect } from "../../utils/checkCountryRedirect"

describe('PolicyEngine Homepage', () => {
const regexArg = /the\s(us|u\.s\.|usa|united states)/;
Expand Down
File renamed without changes.

0 comments on commit b50a88d

Please sign in to comment.