Skip to content

Commit a95d3af

Browse files
author
DavertMik
committed
fixed test
1 parent 2c32d0d commit a95d3af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runner/codecept_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ describe('CodeceptJS Runner', () => {
170170
it('should filter by feature tags', done => {
171171
process.chdir(codecept_dir)
172172
exec(`${codecept_run_config('codecept.grep.2.js')} --grep @feature_grep --invert`, (err, stdout) => {
173-
stdout.should.not.include('@feature_grep') // feature
174-
stdout.should.not.include('grep message 1')
175-
stdout.should.not.include('grep message 2')
173+
debug(stdout)
174+
stdout.should.include('0 passed')
175+
stdout.should.include('No tests found by pattern: /@feature_grep/') // feature
176176
assert(!err)
177177
done()
178178
})

0 commit comments

Comments
 (0)