Skip to content

Commit

Permalink
add current folder
Browse files Browse the repository at this point in the history
  • Loading branch information
yimysty committed Jun 18, 2022
1 parent d5c15ad commit 42e570c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/config-parser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const { ConfigParser } = require('./config-parser')
const fs = require("fs")
const assert = require('assert')

const srcFolder = `src/fixtures`
const tmpFolder = `src/fixtures/tmp`
const expectedFolder = `src/fixtures/expected`
const srcFolder = `${process.cwd()}/src/fixtures`
const tmpFolder = `${process.cwd()}/src/fixtures/tmp`
const expectedFolder = `${process.cwd()}/src/fixtures/expected`

const repoPath = "/amazing-new-repo/"

Expand Down Expand Up @@ -66,7 +66,6 @@ describe('configParser', () => {
test.each(cases)(
"%p parsed correctly",
(fileName, configuration) => {
console.log(process.cwd())
srcFileName = `${srcFolder}/${fileName}`
tmpFileName = `${tmpFolder}/${fileName}`
expectedFileName = `${expectedFolder}/${fileName}`
Expand Down

0 comments on commit 42e570c

Please sign in to comment.