fix(repo): change e2e tests setup to use a different version

This commit is contained in:
Victor Savkin 2020-11-16 13:09:23 -05:00
parent 416e5053f0
commit a1615e8346
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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`);