diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-04-08 20:24:00 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-04-09 10:16:59 +0300 |
commit | e658b33792707a3dc190355ddc3d6c8d3ddb0cd8 (patch) | |
tree | c8d0113a27d9c1178cf1ce2c075255bde50f2303 /spec/frontend/ide | |
parent | cb892da622820505637bafc39c0c0688300a6dc7 (diff) |
Replace jasmine.createSpy() with jest.fn()
Diffstat (limited to 'spec/frontend/ide')
-rw-r--r-- | spec/frontend/ide/lib/common/disposable_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/ide/lib/common/disposable_spec.js b/spec/frontend/ide/lib/common/disposable_spec.js index af12ca15369..8596642eb7a 100644 --- a/spec/frontend/ide/lib/common/disposable_spec.js +++ b/spec/frontend/ide/lib/common/disposable_spec.js @@ -8,7 +8,7 @@ describe('Multi-file editor library disposable class', () => { instance = new Disposable(); disposableClass = { - dispose: jasmine.createSpy('dispose'), + dispose: jest.fn().mockName('dispose'), }; }); |