Skip to content

Commit 541a655

Browse files
committed
fix(test): run npm i on the test package.json to install the scaleway plugin
1 parent 67d229c commit 541a655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1718,8 +1718,8 @@ test('poetry py3.7 only installs optional packages specified in onlyGroups', asy
17181718

17191719
test('py3.7 injects dependencies into `package` folder when using scaleway provider', async (t) => {
17201720
process.chdir('tests/scaleway_provider');
1721-
const path = npm(['pack', '../..']);
1722-
npm(['i', path]);
1721+
npm(['pack', '../..']);
1722+
npm(['i']); // install the serverless-scaleway-functions plugin
17231723
sls(['package'], { env: {} });
17241724
const zipfiles = await listZipFiles('.serverless/sls-py-req-test.zip');
17251725
t.true(

0 commit comments

Comments
 (0)