Skip to content

Commit 096c5c3

Browse files
committed
Fix test
1 parent 95657bb commit 096c5c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/e2e.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ describe(`end-to-end testing (node: ${nodeVersion.major}, sls: ${slsVersion.majo
134134
private: true,
135135
scripts: {},
136136
dependencies: {
137-
// We should use fix version to respect lock file
138-
lodash: '^4.17.23'
137+
// We should keep the workspace dependency on the lodash v4 major.
138+
lodash: expect.stringMatching(/^\^4(?:$|\.)/)
139139
}
140140
});
141141
expect(files['handler.js']).not.toHaveLength(0);

0 commit comments

Comments
 (0)