From 1aa738cd9849225266d623e98d1d9a455c3501f0 Mon Sep 17 00:00:00 2001 From: Caleb Mabry <36182383+caleb-mabry@users.noreply.github.com> Date: Sun, 17 Jul 2022 13:40:46 -0400 Subject: Changing mock value --- webAO/client/__tests__/setEmote.test.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'webAO/client') diff --git a/webAO/client/__tests__/setEmote.test.js b/webAO/client/__tests__/setEmote.test.js index 1db13c9..53bb68d 100644 --- a/webAO/client/__tests__/setEmote.test.js +++ b/webAO/client/__tests__/setEmote.test.js @@ -9,10 +9,13 @@ jest.mock('../../utils/fileExists'); describe('setEmote', () => { const AO_HOST = ''; Client.mockReturnValue({ - lastChar: 'long', - chatmsg: { - name: 'byte', - }, + viewport: { + lastChar: 'long', + chatmsg: { + name: 'byte', + }, + } + }); const client = new Client('127.0.0.1'); const firstExtension = '.gif'; -- cgit