Archived
1
0

refactor: create test/utils

This commit is contained in:
Joe Previte
2021-03-09 16:33:39 -07:00
parent b468597872
commit cf6fdb90eb
7 changed files with 41 additions and 26 deletions

5
test/utils/cssStub.ts Normal file
View File

@ -0,0 +1,5 @@
// Note: this is needed for the register.test.ts
// This is because inside src/browser/register.ts
// we import CSS files, which Jest can't handle unless we tell it how to
// See: https://stackoverflow.com/a/39434579/3015595
module.exports = {}