loadershim.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 13
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 8
mnd 0
bc 0
fnc 3
dl 0
loc 13
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
/* eslint-disable @typescript-eslint/no-empty-function */
2
/** global: jest */
3
4
global.___loader = {
5
  enqueue: jest.fn(),
6
};
7
8
window.matchMedia =
9
  window.matchMedia ||
10
  function () {
11
    return {
12
      matches: false,
13
      addListener: function () {},
14
      removeListener: function () {},
15
    };
16
  };
17