From 7f2bd76eb349f66690ef024cb9012485a3f50e38 Mon Sep 17 00:00:00 2001 From: Zach Plata Date: Wed, 20 Apr 2022 14:03:50 -0700 Subject: [PATCH] Fix up test --- test/Rive.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Rive.test.tsx b/test/Rive.test.tsx index 5700127..f0f3d36 100644 --- a/test/Rive.test.tsx +++ b/test/Rive.test.tsx @@ -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(),