From 1500a352fca44e5d5495f1ac36aab072b426789c Mon Sep 17 00:00:00 2001 From: Conrad Chan Date: Fri, 17 Apr 2020 14:26:53 -0700 Subject: [PATCH] chore: fix unit test --- src/lib/viewers/__tests__/BaseViewer-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/viewers/__tests__/BaseViewer-test.js b/src/lib/viewers/__tests__/BaseViewer-test.js index a5f31e6ff..2e2f833d7 100644 --- a/src/lib/viewers/__tests__/BaseViewer-test.js +++ b/src/lib/viewers/__tests__/BaseViewer-test.js @@ -1514,7 +1514,7 @@ describe('lib/viewers/BaseViewer', () => { }); ['error', 'pending'].forEach(status => { - test(`should not do anything if status is ${status}`, () => { + it(`should not do anything if status is ${status}`, () => { const event = createEvent(status); base.handleAnnotationCreateEvent(event); @@ -1525,7 +1525,7 @@ describe('lib/viewers/BaseViewer', () => { }); }); - test('should reset controls if status is success', () => { + it('should reset controls if status is success', () => { base.annotationControls.getActiveMode.returns('region'); const event = createEvent('success');