Skip to content

Commit 591ddcc

Browse files
committed
fix canvas test
1 parent 83af897 commit 591ddcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/settings/canvas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('returns the canvas', (t) => {
1111
animate: false,
1212
global: false,
1313
})
14-
const c = local.canvas()
14+
const c = local.CANVAS
1515
t.is(c.tagName, 'CANVAS')
1616
local.quit()
1717
})
@@ -31,7 +31,7 @@ test('returns the custom canvas', (t) => {
3131
global: false,
3232
})
3333

34-
const current = local.canvas()
34+
const current = local.CANVAS
3535

3636
t.is(expected, current)
3737

0 commit comments

Comments
 (0)