mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-12 22:50:06 +00:00
fix(path): make log file path platform-agnostic
This commit is contained in:
@@ -27,7 +27,7 @@ describe('getFileStream', () => {
|
||||
|
||||
expect(createWriteStream).not.toHaveBeenCalledWith(__dirname)
|
||||
expect(createWriteStream).toHaveBeenCalledWith(
|
||||
expect.stringContaining(__dirname + '/test job-20')
|
||||
expect.stringContaining(path.join(__dirname, '/test job-20'))
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user