linting
This commit is contained in:
parent
5fb50a1759
commit
5efc3f15f2
@ -9,8 +9,6 @@
|
|||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import assert from "assert";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* it - wrapper for assertions to provide a helpful description
|
* it - wrapper for assertions to provide a helpful description
|
||||||
* to the TestRegister
|
* to the TestRegister
|
||||||
|
|||||||
@ -35,7 +35,7 @@ TestRegister.addApiTests([
|
|||||||
try {
|
try {
|
||||||
const fail = chef.setUnion("1");
|
const fail = chef.setUnion("1");
|
||||||
// shouldnt get here
|
// shouldnt get here
|
||||||
assert(false);
|
assert(!fail || false);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
assert(true);
|
assert(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user