Skip to content

Commit 4e10ba3

Browse files
authored
chore: change canary version to specific prefix (#1290)
1 parent cf045b4 commit 4e10ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/__tests__/render.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {fireEvent, render, screen, configure} from '../'
55

66
// Needs to be changed to 19.0.0 once alpha started.
77
const isReactExperimental = React.version.startsWith('18.3.0-experimental')
8-
const isReactCanary = React.version.startsWith('18.3.0')
8+
const isReactCanary = React.version.startsWith('18.3.0-canary')
99

1010
// Needs to be changed to isReactExperimental || isReactCanary once alpha started.
1111
const testGateReact18 = isReactExperimental ? test.skip : test

0 commit comments

Comments
 (0)