Last active
October 4, 2018 18:20
-
-
Save stephenplusplus/3a1dca80ce7c6531c2af932ce4f895f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/system-test/storage.ts b/system-test/storage.ts | |
| index 15465b9..a096b65 100644 | |
| --- a/system-test/storage.ts | |
| +++ b/system-test/storage.ts | |
| @@ -111,6 +111,7 @@ describe('storage', () => { | |
| process.env.GOOGLE_APPLICATION_CREDENTIALS; | |
| delete process.env.GOOGLE_APPLICATION_CREDENTIALS; | |
| + delete require.cache[require.resolve('../src')]; | |
| const {Storage} = require('../src'); | |
| storageWithoutAuth = new Storage(); | |
| @@ -154,7 +155,7 @@ describe('storage', () => { | |
| file = bucket.file(privateFile.id); | |
| }); | |
| - it('should not download a file', done => { | |
| + it.only('should not download a file', done => { | |
| file.download(err => { | |
| assert(err.message.indexOf('does not have storage.objects.get') > -1); | |
| done(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment