-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// Copyright 2017, University of Colorado Boulder | ||
|
||
/** | ||
* Unit tests, run with `qunit` at the top-level of perennial. May need `npm install -g qunit` beforehand, if it hasn't been run yet. | ||
* Unit tests, run with `npm run test` at the top-level of perennial. | ||
* | ||
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
@@ -35,14 +35,14 @@ async function getLikelyNextBranch( repo, incrementMajor, incrementMinor ) { | |
|
||
qunit.test( 'Checkout target', async assert => { | ||
assert.timeout( 120000 ); | ||
await execute( gruntCommand, [ 'checkout-target', '--repo=chains', '--target=1.42' ], '.' ); | ||
await execute( gruntCommand, [ 'checkout-main', '--repo=chains' ], '.' ); | ||
await execute( gruntCommand, [ 'checkout-target', '--repo=bumper', '--target=19.9', '--skipNpmUpdate' ], '.' ); | ||
await execute( gruntCommand, [ 'checkout-main', '--repo=bumper', '--skipNpmUpdate' ], '.' ); | ||
assert.expect( 0 ); | ||
} ); | ||
|
||
qunit.test( 'NPM update', async assert => { | ||
assert.timeout( 120000 ); | ||
await execute( gruntCommand, [ 'npm-update', '--repo=chains' ], '.' ); | ||
await execute( gruntCommand, [ 'npm-update', '--repo=bumper' ], '.' ); | ||
assert.expect( 0 ); | ||
} ); | ||
|
||
|