Skip to content

Commit

Permalink
test: fixing scikit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yawetse committed Jul 31, 2022
1 parent 0b00628 commit 7eee857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scikit_singleton.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getScikit, setScikit, } from "./scikitjs_singleton";
describe('tensorflow singleton',()=>{
describe('getScikit',()=>{
it('should throw an error if tensorflow has not been set',()=>{
setScikit(null)
expect(getScikit.bind(null)).toThrowError(/Looks like you are/);
});
});
Expand Down

0 comments on commit 7eee857

Please sign in to comment.