linting
This commit is contained in:
1 parent
5fb50a1759
commit
5efc3f15f2
3 files changed
+6
-8
No files matched your search
@@ -9,8 +9,6 @@
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import assert from "assert";
|
||||
|
||||
/**
|
||||
* it - wrapper for assertions to provide a helpful description
|
||||
* to the TestRegister
|
||||
@@ -27,7 +25,7 @@ import assert from "assert";
|
||||
* assert.equal(1,1)
|
||||
* assert.notEqual(3,4)
|
||||
* })
|
||||
*
|
||||
*
|
||||
* @example
|
||||
* // async assertions
|
||||
* it("should handle async", async () => {
|
||||
|
||||
@@ -35,7 +35,7 @@ TestRegister.addApiTests([
|
||||
try {
|
||||
const fail = chef.setUnion("1");
|
||||
// shouldnt get here
|
||||
assert(false);
|
||||
assert(!fail || false);
|
||||
} catch (e) {
|
||||
assert(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user