mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
* 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>
24 lines
476 B
JavaScript
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'
|
|
]
|
|
}
|
|
]
|
|
}; |