commit | e120dea951176525dc32f614742a5d4c25793c70 | [log] [tgz] |
---|---|---|
author | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Sat Sep 29 17:58:11 2018 +0200 |
committer | GitHub <noreply@github.com> | Sat Sep 29 17:58:11 2018 +0200 |
tree | 4874bc7abf28cd4dc5d7546fd94c968fdb9e2fbb | |
parent | f37c7baddc6728f91612f228f34a696b61bc1e89 [diff] |
Run test in well-defined directory (#51)
diff --git a/spec/fetch-unit.spec.js b/spec/fetch-unit.spec.js index 889ef23..9cbe08b 100644 --- a/spec/fetch-unit.spec.js +++ b/spec/fetch-unit.spec.js
@@ -119,7 +119,7 @@ }); it('should not find a package installed elsewhere', () => { - return resolvePathToPackage('dummy-local-plugin').then( + return resolvePathToPackage('dummy-local-plugin', tmpDir).then( _ => fail('expect promise to be rejected'), err => expect(err).toBeDefined() );