Skip to content

Commit 9c711ee

Browse files
fix(test_downstream_projects): run 'yarn' after installing upstreams to get updated upstream dependencies
1 parent 742a837 commit 9c711ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test_downstream_projects.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ function localPublish(packageDir) {
4444
}
4545

4646
function installUpstreamDeps(upstreamPackages) {
47-
upstreamPackages.forEach(upstream => util._exec('npx yalc add ' + upstream));
47+
upstreamPackages.forEach(upstream => {
48+
util._exec('npx yalc add ' + upstream);
49+
});
50+
// Install updated deps from the upstream
51+
// If local changes point to a new version of @uirouter/core, for example
52+
util._exec('npx yarn');
4853
}
4954

5055
function runTests() {

0 commit comments

Comments
 (0)