We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b63ae8 commit bb1dadbCopy full SHA for bb1dadb
test/fail.test.js
@@ -20,7 +20,7 @@ jest.test('action has empty error', () => {
20
} catch (error) {
21
const result = error.stdout.toString();
22
23
- jest.expect(result).toContain('Cannot read property \'jobs\' of null');
+ jest.expect(result).toContain('Cannot read properties of null (reading \'jobs\')');
24
jest.expect(result).not.toContain('No issues were found.');
25
}
26
});
0 commit comments