2018-03-24 16:22:20 +05:30

6 lines
111 B
JavaScript

import * as foo from "./moduleWithGetter";
expect(() => foo.boo).toThrow();
// No exception should be thrown