chore(tests): Grunt mocha test fixes (#496)

* 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>
This commit is contained in:
NickOvt 2023-09-14 13:31:54 +03:00 committed by GitHub
parent c60373bbfe
commit 78227589d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']
}
},