aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Mabry <36182383+caleb-mabry@users.noreply.github.com>2022-07-17 13:40:46 -0400
committerCaleb Mabry <36182383+caleb-mabry@users.noreply.github.com>2022-07-17 13:40:46 -0400
commit1aa738cd9849225266d623e98d1d9a455c3501f0 (patch)
tree2f8c6b06a143e0569528ef19cac9d0aab73fecb4
parent25fe710c3b36b097502a5f3e0afb024312cbf7b9 (diff)
Changing mock value
-rw-r--r--webAO/client/__tests__/setEmote.test.js11
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';