Skip to content

Commit

Permalink
Fix nf jest.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Jul 21, 2024
1 parent c91cec5 commit 8e3d7fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .tests/js/__mocks__/backboneMarionette.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ const Marionette = {
};

global.Backbone = Backbone;
global.nfRadio = Backbone.Radio;
global.nfRadio = Backbone.Radio;
global.Marionette = Marionette;
2 changes: 2 additions & 0 deletions .tests/js/__mocks__/backboneRadio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// noinspection JSUnresolvedVariable

/* global nfRadio */

const submitChannel = {
listenTo: jest.fn(),
};
Expand Down

0 comments on commit 8e3d7fb

Please sign in to comment.