Update to latest typescript version (#274)

This commit is contained in:
Josh Gross authored and eric sciple committed 2019-12-27 19:42:30 -05:00
1 parent 3102a5464f
commit d2f94edb00
1 file changed
+6 -6
+6 -6
View File
@@ -1171,9 +1171,9 @@ describe('which', () => {
const originalPath = process.env['PATH']
try {
// modify PATH
process.env['PATH'] = `${process.env['PATH']}${
path.delimiter
}${testPath}`
process.env[
'PATH'
] = `${process.env['PATH']}${path.delimiter}${testPath}`
// find each file
for (const fileName of Object.keys(files)) {
@@ -1244,9 +1244,9 @@ describe('which', () => {
await fs.writeFile(notExpectedFilePath, '')
const originalPath = process.env['PATH']
try {
process.env['PATH'] = `${process.env['PATH']}${
path.delimiter
}${testPath}`
process.env[
'PATH'
] = `${process.env['PATH']}${path.delimiter}${testPath}`
expect(await io.which(fileName)).toBe(expectedFilePath)
} finally {
process.env['PATH'] = originalPath