Skip to content

Commit

Permalink
Fix test syntax in backport
Browse files Browse the repository at this point in the history
  • Loading branch information
vidartf committed Oct 5, 2021
1 parent 33e9c67 commit 518950f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nbdime/test/src/common/util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,13 @@ describe('common', () => {

it('should create an empty select', () => {
let value = util.buildSelect([]);
expect(value.outerHTML).toEqual("<select></select>");
expect(value.outerHTML).to.eql("<select></select>");
});

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', () => {
Expand All @@ -276,7 +276,7 @@ describe('common', () => {
'bar',
'<div>boo</div>'
]);
expect(value.outerHTML).toEqual(
expect(value.outerHTML).to.eql(
'<select>' +
'<option>foo</option>' +
'<option>bar</option>' +
Expand Down

0 comments on commit 518950f

Please sign in to comment.