Skip to content

Commit 033678f

Browse files
committed
test oof
1 parent 7846509 commit 033678f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sidebar/services/test/frame-sync-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,29 +233,29 @@ describe('sidebar/services/frame-sync', function () {
233233
});
234234

235235
it('should not create an annotation in the sidebar', () => {
236-
const ann = { target: [] };
236+
const ann = { target: [], user: 'acct:[email protected]' };
237237

238238
fakeBridge.emit('beforeCreateAnnotation', { tag: 't1', msg: ann });
239239

240240
assert.notCalled(fakeAnnotationsService.create);
241241
});
242242

243243
it('should open the sidebar', () => {
244-
const ann = { target: [] };
244+
const ann = { target: [], user: 'acct:[email protected]' };
245245
fakeBridge.emit('beforeCreateAnnotation', { tag: 't1', msg: ann });
246246

247247
assert.calledWith(fakeBridge.call, 'showSidebar');
248248
});
249249

250250
it('should open the login prompt panel', () => {
251-
const ann = { target: [] };
251+
const ann = { target: [], user: 'acct:[email protected]' };
252252
fakeBridge.emit('beforeCreateAnnotation', { tag: 't1', msg: ann });
253253

254254
assert.calledWith(fakeStore.openSidebarPanel, 'loginPrompt');
255255
});
256256

257257
it('should send a "deleteAnnotation" message to the frame', () => {
258-
const ann = { target: [] };
258+
const ann = { target: [], user: 'acct:[email protected]' };
259259
fakeBridge.emit('beforeCreateAnnotation', { tag: 't1', msg: ann });
260260

261261
assert.calledWith(fakeBridge.call, 'deleteAnnotation');

0 commit comments

Comments
 (0)