Skip to content

Commit 59c4ce4

Browse files
committed
#209: fix unit tests
1 parent 727a2b6 commit 59c4ce4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

skills-client-js/test/display/SkillsDisplayJS.test.js

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import axios from 'axios';
2020

2121
import SkillsDisplayJS from '../../src/display/SkillsDisplayJS';
2222
import ErrorPageUtils from '../../src/display/ErrorPageUtils';
23+
import SkillsConfiguration from '../../src/config/SkillsConfiguration';
2324

2425
jest.mock('../../src/display/ErrorPageUtils.js');
2526
jest.mock('postmate');
@@ -80,6 +81,7 @@ describe('SkillsDisplayJS', () => {
8081
let realDocument;
8182

8283
beforeEach(() => {
84+
SkillsConfiguration.enabled = true
8385
realDocument = global.document;
8486
global.document.querySelector = jest.fn();
8587
});

0 commit comments

Comments
 (0)