Fix linting issue
This commit is contained in:
@@ -39,10 +39,7 @@ describe('createRawFileUploadStream', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should propagate file read errors through the upload stream', async () => {
|
it('should propagate file read errors through the upload stream', async () => {
|
||||||
const unreadableFile = path.join(
|
const unreadableFile = path.join(fixtures.testDirectory, 'unreadable.txt')
|
||||||
fixtures.testDirectory,
|
|
||||||
'unreadable.txt'
|
|
||||||
)
|
|
||||||
fs.writeFileSync(unreadableFile, 'secret')
|
fs.writeFileSync(unreadableFile, 'secret')
|
||||||
fs.chmodSync(unreadableFile, 0o000)
|
fs.chmodSync(unreadableFile, 0o000)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user