Skip to content

Commit e2bfce1

Browse files
committed
test: remove Windows snapshot workaround
1 parent 81ea7fd commit e2bfce1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/unit/validateOptions.spec.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ describe('validateOptions', () => {
7474
7575
Invalid value for option 'cwd': non_existent
7676
77-
ENOENT: no such file or directory, access '${path
78-
.join(process.cwd(), 'non_existent')
79-
// Windows test fix: D:\something -> D:\\something
80-
.replace(/\\/g, '\\\\')}'
77+
ENOENT: no such file or directory, access '${path.join(process.cwd(), 'non_existent')}'
8178
8279
See https://github.com/okonet/lint-staged#command-line-flags"
8380
`)

0 commit comments

Comments
 (0)