Fix up test

This commit is contained in:
Zach Plata
2022-04-20 14:03:50 -07:00
committed by Zachary Plata
parent 5c0b9cd613
commit 7f2bd76eb3

View File

@@ -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(),