mirror of
https://github.com/rive-app/rive-react.git
synced 2025-12-19 01:30:08 +08:00
Fix up test
This commit is contained in:
committed by
Zachary Plata
parent
5c0b9cd613
commit
7f2bd76eb3
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import RiveComponent from '../src/components/Rive';
|
||||
import {render} from '@testing-library/react'
|
||||
|
||||
jest.mock('@rive-app/webgl', () => ({
|
||||
jest.mock('@rive-app/canvas', () => ({
|
||||
Rive: jest.fn().mockImplementation(() => ({
|
||||
on: jest.fn(),
|
||||
stop: jest.fn(),
|
||||
|
||||
Reference in New Issue
Block a user