replace expect testing with assert

This commit is contained in:
Jörg Breitbart
2021-01-23 17:09:43 +01:00
parent ff74caf50d
commit d3c9f70bec
5 changed files with 635 additions and 584 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
* @license MIT
*/
import { assert, expect } from 'chai';
import { assert } from 'chai';
import { clone } from 'common/Clone';
describe('clone', () => {
@@ -124,6 +124,6 @@ describe('clone', () => {
test.a.b.c = test;
expect(() => clone(test)).to.not.throw();
assert.doesNotThrow(() => clone(test));
});
});