Skip to content

Commit 997a9dd

Browse files
committed
Don't test line numbers
1 parent 7efe226 commit 997a9dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/basic.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ describe("Basic", () => {
2222
{
2323
function: 'longWork',
2424
filename: expect.stringMatching(/test.js$/),
25-
lineno: 18,
26-
colno: 29
25+
lineno: expect.any(Number),
26+
colno: expect.any(Number),
2727
},
2828
{
2929
function: '?',
3030
filename: expect.stringMatching(/test.js$/),
31-
lineno: 22,
32-
colno: 1
31+
lineno: expect.any(Number),
32+
colno: expect.any(Number),
3333
},
3434
]));
3535

@@ -43,14 +43,14 @@ describe("Basic", () => {
4343
{
4444
function: 'longWork',
4545
filename: expect.stringMatching(/worker.js$/),
46-
lineno: 10,
47-
colno: 29
46+
lineno: expect.any(Number),
47+
colno: expect.any(Number),
4848
},
4949
{
5050
function: '?',
5151
filename: expect.stringMatching(/worker.js$/),
52-
lineno: 14,
53-
colno: 1
52+
lineno: expect.any(Number),
53+
colno: expect.any(Number),
5454
},
5555
]));
5656
});

0 commit comments

Comments
 (0)