Skip to content

Commit

Permalink
fix(repo): change e2e tests setup to use a different version
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Nov 16, 2020
1 parent 416e505 commit a1615e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/create-playground.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions scripts/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

0 comments on commit a1615e8

Please sign in to comment.