fix(repo): change e2e tests setup to use a different version
This commit is contained in:
parent
416e5053f0
commit
a1615e8346
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
./scripts/link.sh 9999.0.1
|
||||
./scripts/link.sh 9999.0.2
|
||||
|
||||
rm -rf tmp
|
||||
mkdir -p tmp/angular
|
||||
mkdir -p tmp/nx
|
||||
|
||||
PUBLISHED_VERSION=9999.0.1 npm_config_registry=http://localhost:4872/ jest --maxWorkers=1 -c "./build/e2e/jest-config.js" ./build/e2e/commands/create-playground.test.js
|
||||
PUBLISHED_VERSION=9999.0.2 npm_config_registry=http://localhost:4872/ jest --maxWorkers=1 -c "./build/e2e/jest-config.js" ./build/e2e/commands/create-playground.test.js
|
||||
|
||||
@ -7,7 +7,7 @@ const kill = require('tree-kill');
|
||||
const asyncExec = promisify(exec);
|
||||
let localRegistryProcess;
|
||||
|
||||
process.env.PUBLISHED_VERSION = `9999.0.1`;
|
||||
process.env.PUBLISHED_VERSION = `9999.0.2`;
|
||||
process.env.npm_config_registry = `http://localhost:4872/`;
|
||||
process.env.YARN_REGISTRY = process.env.npm_config_registry;
|
||||
|
||||
@ -109,7 +109,7 @@ async function runTest() {
|
||||
.join(',');
|
||||
}
|
||||
|
||||
execSync(`./scripts/package.sh 9999.0.1 "~10.0.0" "3.9.3" "2.0.4"`, {
|
||||
execSync(`./scripts/package.sh 9999.0.2 "~10.0.0" "3.9.3" "2.0.4"`, {
|
||||
stdio: [0, 1, 2],
|
||||
});
|
||||
execSync(`rm -rf tmp`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user