test/setup.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 7
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
cc 0
wmc 0
c 2
b 0
f 1
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 7
rs 10
bpm 0
cpm 0
noi 0
1
require('browser-env')(['window', 'document', 'navigator']);
2
3
const indexedDB = require('fake-indexeddb');
4
const FDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
5
6
window.indexedDB = indexedDB;
7
window.IDBKeyRange = FDBKeyRange;