mirror of
https://github.com/osnr/TabFS.git
synced 2026-03-14 13:05:45 +01:00
test: fix JS test so window works
This commit is contained in:
parent
1cd220febb
commit
dfc73e55d3
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue