Files
YouTube.js/jest.config.js
Bob Varioa f52d15cdb0 Make project multiplatform (#91)
* Prefer `c ? x : y` over `c && x || y`

* Avoid unnecessary asssignment expressions

* Prefer switch statements over object lookup tables

* Add an .editorconfig

* Fix style issues

* Fix mentioned issues

* remove dynamic require

* Introduce esbuild as a build system

* Add cross platform stream api

* Replace 'fs' with custom cache api

* Add cross platform crypto api

* Add misc. dependencies

* Create multi-platform tests

* Update package-lock, Add build files

* Pull from upstream

* Fix linting issues, and update build files

* Fix comments issues

* Regenerate types, add source maps

Co-authored-by: bob <bob.varioa@gmail.com>
2022-07-06 16:47:48 -03:00

24 lines
476 B
JavaScript

'use strict';
module.exports = {
projects: [
{
displayName: 'node',
roots: [ '<rootDir>/test/node' ],
testMatch: [ '**/*.test.js' ],
testTimeout: 10000,
setupFiles: []
},
{
displayName: 'browser',
roots: [ '<rootDir>/test/browser' ],
testMatch: [ '**/*.test.js' ],
testTimeout: 10000,
setupFiles: [
'fake-indexeddb/auto',
'./scripts/globals.js',
'fake-dom'
]
}
]
};