From 518950f8fd366a8fe1238956d5dd2bef5bac6276 Mon Sep 17 00:00:00 2001 From: Vidar Tonaas Fauske Date: Tue, 5 Oct 2021 13:25:38 +0100 Subject: [PATCH] Fix test syntax in backport --- packages/nbdime/test/src/common/util.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nbdime/test/src/common/util.spec.ts b/packages/nbdime/test/src/common/util.spec.ts index a8a2a6ad..eeb2c82f 100644 --- a/packages/nbdime/test/src/common/util.spec.ts +++ b/packages/nbdime/test/src/common/util.spec.ts @@ -261,13 +261,13 @@ describe('common', () => { it('should create an empty select', () => { let value = util.buildSelect([]); - expect(value.outerHTML).toEqual(""); + expect(value.outerHTML).to.eql(""); }); it('should reuse a given select', () => { const select = document.createElement('select'); let value = util.buildSelect([], select); - expect(value).toBe(select); + expect(value).to.be(select); }); it('should create a select with options', () => { @@ -276,7 +276,7 @@ describe('common', () => { 'bar', '
boo
' ]); - expect(value.outerHTML).toEqual( + expect(value.outerHTML).to.eql( '