Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9f7c5ce

Browse files
Vibhutipetebacondarwin
authored andcommitted
chore(gruntFile): ensure build is run before test:modules
Closes #10188
1 parent 2f32614 commit 9f7c5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ module.exports = function(grunt) {
316316
grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['jshint', 'jscs', 'package','test:unit','test:promises-aplus', 'tests:docs', 'test:protractor']);
317317
grunt.registerTask('test:jqlite', 'Run the unit tests with Karma' , ['tests:jqlite']);
318318
grunt.registerTask('test:jquery', 'Run the jQuery unit tests with Karma', ['tests:jquery']);
319-
grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']);
319+
grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['build', 'tests:modules']);
320320
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
321-
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
321+
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['test:jqlite', 'test:jquery', 'test:modules']);
322322
grunt.registerTask('test:protractor', 'Run the end to end tests with Protractor and keep a test server running in the background', ['webdriver', 'connect:testserver', 'protractor:normal']);
323323
grunt.registerTask('test:travis-protractor', 'Run the end to end tests with Protractor for Travis CI builds', ['connect:testserver', 'protractor:travis']);
324324
grunt.registerTask('test:ci-protractor', 'Run the end to end tests with Protractor for Jenkins CI builds', ['webdriver', 'connect:testserver', 'protractor:jenkins']);

0 commit comments

Comments
 (0)