Skip to content

Commit

Permalink
use bumper for all tests, #384
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 24, 2024
1 parent db1430d commit 9069b0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/perennialGruntTest.js
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]>
*/
Expand Down Expand Up @@ -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 );
} );

Expand Down

0 comments on commit 9069b0e

Please sign in to comment.