Browse Source

test: fix JS test so window works

master
Omar Rizwan 2 months ago
parent
commit
dfc73e55d3
  1. 1
      test/test.js

1
test/test.js

@ -1,6 +1,7 @@
const assert = require('assert');
// mock chrome namespace
global.window = global;
global.chrome = {};
// run background.js
const {Routes, tryMatchRoute} = require('../extension/background');

Loading…
Cancel
Save