Skip to content

Commit 8eed511

Browse files
committed
test: allow git dependencies in E2E npm sandbox configuration
This fixes the snapshots builds error
1 parent 23e3d44 commit 8eed511

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/e2e/setup/001-npm-sandbox.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ export default async function () {
3535
process.env['NPM_CONFIG_legacy_peer_deps'] = 'true';
3636
}
3737

38-
// Allow github tarballs consumption.
38+
// Allow github tarballs and git dependencies consumption.
3939
process.env['NPM_CONFIG_allow_remote'] = 'all';
40+
process.env['NPM_CONFIG_allow_git'] = 'true';
4041

4142
// Configure the registry and prefix used within the test sandbox via rc files
4243
await writeFile(npmrc, `registry=${npmRegistry}\nprefix=${npmModulesPrefix}`);

0 commit comments

Comments
 (0)