Closed elvetemedve closed 6 years ago
In case of a failed test, the Jasmine command should exit with a non-zero code according to the UNIX.
Let's suppose we have a failing test case in spec/test.js like
describe("A suite is just a function", function() { expect(true).toBe(false); });
When I run jasmine spec/test.js; echo $? and check the output.
jasmine spec/test.js; echo $?
0
Greater than 0.
Jasmine 2.2.1
Arch Linux 4.13.12 Gnome 3.26.2 GJS 1.50.1
Thanks for the report!
The problem
In case of a failed test, the Jasmine command should exit with a non-zero code according to the UNIX.
Let's suppose we have a failing test case in spec/test.js like
When I run
jasmine spec/test.js; echo $?
and check the output.Actual result
0
Expected result
Greater than 0.
Environment
Version
Jasmine 2.2.1
Environment
Arch Linux 4.13.12 Gnome 3.26.2 GJS 1.50.1