diff options
| author | Caleb Mabry <36182383+caleb-mabry@users.noreply.github.com> | 2022-07-17 13:40:46 -0400 |
|---|---|---|
| committer | Caleb Mabry <36182383+caleb-mabry@users.noreply.github.com> | 2022-07-17 13:40:46 -0400 |
| commit | 1aa738cd9849225266d623e98d1d9a455c3501f0 (patch) | |
| tree | 2f8c6b06a143e0569528ef19cac9d0aab73fecb4 /webAO/client | |
| parent | 25fe710c3b36b097502a5f3e0afb024312cbf7b9 (diff) | |
Changing mock value
Diffstat (limited to 'webAO/client')
| -rw-r--r-- | webAO/client/__tests__/setEmote.test.js | 11 |
1 files changed, 7 insertions, 4 deletions
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'; |
