Revert "try to fix master build by running gradebook specs first"

it didn't work, so I'll just put it back to how it was

This reverts commit d31468710e.

Change-Id: I8144f2641a3cd715b7fe4f1821ba3afe8a6549a8
Reviewed-on: https://gerrit.instructure.com/207855
Reviewed-by: James Butters <jbutters@instructure.com>
Tested-by: Jenkins
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
This commit is contained in:
Ryan Shaw 2019-09-03 08:39:45 -06:00
parent 11daf3ce88
commit dcd9cc6a5b
1 changed files with 4 additions and 6 deletions

View File

@ -103,12 +103,6 @@ if (process.env.JSPEC_PATH) {
requireAll(require.context(`../../${process.env.JSPEC_PATH}`))
}
} else {
// run all the gradebook/grading/gradezilla tests on their own
// Try running them first, so that if someone else is polluting, they don't get blamed
if (!process.env.JSPEC_GROUP || (process.env.JSPEC_GROUP === 'jsg')) {
requireAll(require.context('./jsx', !!'includeSubdirectories', /^\.\/g.*Spec/))
}
if (!process.env.JSPEC_GROUP || (process.env.JSPEC_GROUP === 'coffee')) {
// run specs for ember screenreader gradebook
requireAll(require.context('../../app/coffeescripts', !!'includeSubdirectories', /\.spec.js$/))
@ -121,6 +115,10 @@ if (process.env.JSPEC_PATH) {
if (!process.env.JSPEC_GROUP || (process.env.JSPEC_GROUP === 'jsa')) {
requireAll(require.context('./jsx', !!'includeSubdirectories', /^\.\/[a-f].*Spec$/))
}
// run all the gradebook/grading/gradezilla tests on their own
if (!process.env.JSPEC_GROUP || (process.env.JSPEC_GROUP === 'jsg')) {
requireAll(require.context('./jsx', !!'includeSubdirectories', /^\.\/g.*Spec/))
}
if (!process.env.JSPEC_GROUP || (process.env.JSPEC_GROUP === 'jsh')) {
requireAll(require.context('./jsx', !!'includeSubdirectories', /^\.\/[h-z].*Spec/))
}