Skip to content

Commit 95edf16

Browse files
committed
Fix tests
1 parent 88d5516 commit 95edf16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/docs/examples/custom-event-target.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const CustomEventTarget: React.VFC = () => {
116116
<div style={{ display: "flex", flexDirection: "column", height: "100%" }}>
117117
<div style={{ marginBottom: 10, padding: 10, backgroundColor: "#f0f0f0", borderRadius: 4 }}>
118118
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "center" }}>
119-
<span>Window click attempts blocked: {windowClickAttempts}</span>
119+
<span style={{ color: "#666" }}>Window click attempts blocked: {windowClickAttempts}</span>
120120
<button
121121
onClick={() => alert("This button should not work if window events are blocked!")}
122122
style={{ padding: "5px 10px" }}>

setup-react-18-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
npm i -D react@latest react-dom@latest @testing-library/react@latest @testing-library/react-hooks@latest @testing-library/[email protected] react-test-renderer@latest
3+
npm i -D react@latest react-dom@latest @testing-library/react@latest @testing-library/react-hooks@latest @testing-library/[email protected] react-test-renderer@latest @testing-library/dom

0 commit comments

Comments
 (0)