Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91a1057

Browse files
jridgewellsamouri
authored andcommittedApr 19, 2021
Fix test
1 parent 72c7dbe commit 91a1057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎extensions/amp-selector/1.0/test/test-component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ describes.sandboxed('Selector preact component', {}, () => {
373373

374374
describe('single-expand accordion', () => {
375375
beforeEach(() => {
376-
ref = Preact.useRef();
376+
ref = Preact.createRef();
377377
wrapper = mount(
378378
<Selector ref={ref} defaultValue={['a']}>
379379
<Option key={1} option="a" index={1}>

0 commit comments

Comments
 (0)
Please sign in to comment.