From 8a810c9a84f272717c8bae29adab6a90fcf512e0 Mon Sep 17 00:00:00 2001 From: lodev09 Date: Wed, 3 Apr 2024 00:33:19 +0800 Subject: [PATCH] chore: fix mock --- src/__mocks__/TrueSheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__mocks__/TrueSheet.js b/src/__mocks__/TrueSheet.js index 7ac34fc..1dc57fc 100644 --- a/src/__mocks__/TrueSheet.js +++ b/src/__mocks__/TrueSheet.js @@ -1,7 +1,7 @@ import React from 'react' import { View } from 'react-native' -export class TrueSheet extends React.Component { +export default class TrueSheet extends React.Component { dismiss = jest.fn() present = jest.fn()