We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b00628 commit 7eee857Copy full SHA for 7eee857
src/scikit_singleton.test.ts
@@ -3,6 +3,7 @@ import { getScikit, setScikit, } from "./scikitjs_singleton";
3
describe('tensorflow singleton',()=>{
4
describe('getScikit',()=>{
5
it('should throw an error if tensorflow has not been set',()=>{
6
+ setScikit(null)
7
expect(getScikit.bind(null)).toThrowError(/Looks like you are/);
8
});
9
0 commit comments