Migrate all remaining fixtures to jest expect

This commit is contained in:
Deven Bansod
2018-03-24 14:44:56 +05:30
parent db42a5d70f
commit c8d82d6483
265 changed files with 1763 additions and 1801 deletions

View File

@@ -10,4 +10,4 @@ class Foo extends Bar {
}
}
assert.throws(() => new Foo(), /this hasn't been initialised/);
expect(() => new Foo()).toThrow("this hasn't been initialised");