From 1cefcfe94f5dd41114111c651a9da022855fdd54 Mon Sep 17 00:00:00 2001 From: MrOrz Date: Wed, 2 Aug 2023 02:07:31 +0800 Subject: [PATCH] fix(ListArticles): fix mock init --- src/graphql/queries/__tests__/ListArticles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphql/queries/__tests__/ListArticles.js b/src/graphql/queries/__tests__/ListArticles.js index 8cef870d..a1182a83 100644 --- a/src/graphql/queries/__tests__/ListArticles.js +++ b/src/graphql/queries/__tests__/ListArticles.js @@ -21,7 +21,7 @@ describe('ListArticles', () => { beforeAll(() => loadFixtures(fixtures)); beforeEach(() => { mediaManager.insert.mockClear(); - createTranscript.mock.mockClear(); + createTranscript.mockClear(); }); it('lists all articles', async () => {