From 248556f6ca2099a0424adda38c48b5752e95018f Mon Sep 17 00:00:00 2001 From: notlee Date: Wed, 2 Dec 2020 18:04:37 +0000 Subject: [PATCH] install dependencies before running lint integration test --- test/integration/verify/verify.test.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/integration/verify/verify.test.js b/test/integration/verify/verify.test.js index 030f28c9..fa2a80ea 100644 --- a/test/integration/verify/verify.test.js +++ b/test/integration/verify/verify.test.js @@ -439,8 +439,13 @@ describe('obt verify', function () { }); it('should error for customised rules', function () { + let obt; return obtBinPath() - .then(obt => { + .then(obtPath => { + obt = obtPath; + return execa(obt, ['install']); + }) + .then(() => { return execa(obt, ['verify']); }) .then(() => {