Skip to content

Commit

Permalink
chore: migrate jest-mock to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Feb 10, 2019
1 parent dc35500 commit 53f040c
Show file tree
Hide file tree
Showing 3 changed files with 308 additions and 110 deletions.
Expand Up @@ -8,7 +8,7 @@

'use strict';

const vm = require('vm');
import vm from 'vm';

describe('moduleMocker', () => {
let moduleMocker;
Expand Down Expand Up @@ -182,6 +182,7 @@ describe('moduleMocker', () => {
it('mocks ES2015 non-enumerable static properties and methods', () => {
class ClassFoo {
static foo() {}
static fooProp: Function;
}
ClassFoo.fooProp = () => {};

Expand Down

0 comments on commit 53f040c

Please sign in to comment.