Skip to content

Commit 6569451

Browse files
committed
Better fix for tests
1 parent 1059058 commit 6569451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/issue-154/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "./style.css";
22

3-
window.addEventListener("DOMContentLoaded", () => {
3+
window.addEventListener("load", () => {
44
console.log(
55
getComputedStyle(document.body).background.match(/rgb\(255, 0, 0\)/)
66
? "ok"

0 commit comments

Comments
 (0)