Skip to content

Commit

Permalink
chore(tests): Grunt mocha test fixes (#496)
Browse files Browse the repository at this point in the history
* added new file to test git repo setup

* update Grunt mochaTest structure to run two separate test runs instead of one

* remove test.txt

---------

Co-authored-by: Nikolai Ovtsinnikov <nikolai@zone.ee>
  • Loading branch information
NickOvt and NickOvt authored Sep 14, 2023
1 parent c60373b commit 7822758
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ module.exports = function (grunt) {
},

mochaTest: {
all: {
imap: {
options: {
reporter: 'spec'
},
// run imap-core tests first
src: ['imap-core/test/**/*-test.js', 'test/**/*-test.js']
// imap-core tests first
src: ['imap-core/test/**/*-test.js']
},
api: {
options: {
reporter: 'spec'
},
// api tests
src: ['test/**/*-test.js']
}
},

Expand Down

0 comments on commit 7822758

Please sign in to comment.