Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Jul 31, 2020
1 parent 32dd549 commit 8d95773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/test/unit/config_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ describe('lib/config', () => {
})

it('sets the pluginsFile to index.ts if it exists', () => {
const projectRoot = path.join(process.cwd(), 'test/support/fixtures/projects/ts-proj')
const projectRoot = path.join(process.cwd(), 'test/support/fixtures/projects/ts-proj-with-module-esnext')

const obj = {
projectRoot,
Expand All @@ -1857,7 +1857,7 @@ describe('lib/config', () => {
})

it('sets the pluginsFile to index.ts if it exists (without ts require hook)', () => {
const projectRoot = path.join(process.cwd(), 'test/support/fixtures/projects/ts-proj')
const projectRoot = path.join(process.cwd(), 'test/support/fixtures/projects/ts-proj-with-module-esnext')
const pluginsFolder = `${projectRoot}/cypress/plugins`
const pluginsFilename = `${pluginsFolder}/index.ts`

Expand Down

0 comments on commit 8d95773

Please sign in to comment.