Skip to content

Commit bb1dadb

Browse files
committed
Update fail.test.js
1 parent 1b63ae8 commit bb1dadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fail.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jest.test('action has empty error', () => {
2020
} catch (error) {
2121
const result = error.stdout.toString();
2222

23-
jest.expect(result).toContain('Cannot read property \'jobs\' of null');
23+
jest.expect(result).toContain('Cannot read properties of null (reading \'jobs\')');
2424
jest.expect(result).not.toContain('No issues were found.');
2525
}
2626
});

0 commit comments

Comments
 (0)