Skip to content

Commit

Permalink
test: fix issues in diff.test.ts
Browse files Browse the repository at this point in the history
There's a change in the yargs-parser dep that changes the handling of quotes inside CLI option value strings. So we have to fix our test to remove the extra quotes.
  • Loading branch information
jy95 committed Dec 27, 2021
1 parent c585a2d commit 92e3bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/diff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const structure: fsify_structure = [
name: TEST_FILE_JSON_SETTINGS3,
contents: `module.exports = {
filename: 'diff_settings3-JSON',
outputDir: "${TEMP_FOLDER}",
outputDir: "${TEMP_FOLDER.replace(/\\/g, '\\\\')}",
outputFormat: 'JSON',
files: [${[TEST_FILE_FILE1, TEST_FILE_FILE2]
.map((file) => `"${TEST_FILES[file].replace(/\\/g, '\\\\')}"`)
Expand Down

0 comments on commit 92e3bbf

Please sign in to comment.