Skip to content

Commit

Permalink
test: remove Windows snapshot workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Nov 25, 2022
1 parent 81ea7fd commit e2bfce1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/unit/validateOptions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ describe('validateOptions', () => {
Invalid value for option 'cwd': non_existent
ENOENT: no such file or directory, access '${path
.join(process.cwd(), 'non_existent')
// Windows test fix: D:\something -> D:\\something
.replace(/\\/g, '\\\\')}'
ENOENT: no such file or directory, access '${path.join(process.cwd(), 'non_existent')}'
See https://github.com/okonet/lint-staged#command-line-flags"
`)
Expand Down

0 comments on commit e2bfce1

Please sign in to comment.