Skip to content
Snippets Groups Projects
Commit 19b9afd2 authored by Eyvind Nikolai Holt's avatar Eyvind Nikolai Holt
Browse files

it shall fail

parent 5a76d655
No related branches found
No related tags found
No related merge requests found
Pipeline #22939 failed with stages
in 56 seconds
......@@ -112,3 +112,14 @@ test("get all persons from db", done => {
personDao.getAll(callback);
});
test("fail this should", done => {
function callback(status, data) {
console.log(
"Test callback: status=" + status + ", data=" + JSON.stringify(data)
);
expect(data).toBe(1);
done();
}
callback(100, 2)
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment