Chimeejs / chimee

a video player framework aims to bring wonderful experience on browser
http://chimee.pyzy.net/
MIT License
2.4k stars 201 forks source link

Update toxic-predicate-functions to the latest version πŸš€ #179

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency toxic-predicate-functions was updated from 0.2.5 to 0.3.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v0.3.0
  • use lodash-es instead of lodash
Commits

The new version differs by 10 commits.

  • 69a34c8 0.3.0
  • 9ae32b3 ci(husky): update hooks
  • 2a09632 feat(lodash): change lodash into lodash-es
  • b66da4f Merge pull request #13 from toxic-johann/greenkeeper/documentation-11.0.0
  • 7328c63 Merge pull request #14 from toxic-johann/greenkeeper/rollup-plugin-commonjs-10.0.0
  • 007ac03 Merge pull request #15 from toxic-johann/greenkeeper/rollup-plugin-node-resolve-5.0.0
  • a744c16 chore(package): update rollup-plugin-node-resolve to version 5.0.0
  • 5ed6e87 chore(package): update rollup-plugin-commonjs to version 10.0.0
  • 4d178dd chore(package): update documentation to version 11.0.0
  • 31f6680 ci: update nodejs version in travis

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

TravisBuddy commented 5 years ago

Travis tests have failed

Hey @greenkeeper[bot], Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 10

View build log

npm test ``` > chimee@1.0.1-alpha.0 test /home/travis/build/Chimeejs/chimee > jest --coverage && node env-check.js FAIL __tests__/dispatcher/bus.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/install-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/kernel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:232:14 - error TS7006: Parameter 'evt' implicitly has an 'any' type. 232 fn: (evt) => evt.preventDefault(), ~~~ src/dispatcher/index.ts:562:28 - error TS2322: Type 'string | number | boolean | void' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. 562 if (key !== 'src') { this.videoConfig[key] = originVideoConfig[key]; } ~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:643:14 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IChimeePluginConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '(...args: any[]) => any' provides no match for the signature 'new (...args: any[]): ChimeePlugin'. 643 ? new (pluginConfig as IChimeePluginConstructor)({id}, this, pluginOption) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:756:23 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IVideoKernelConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'isSupport' is missing in type '(...args: any[]) => any' but required in type 'IVideoKernelConstructor'. 756 const fn = (fnOrSKC as IVideoKernelConstructor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/kernels/base.ts:18:3 18 isSupport(): boolean; ~~~~~~~~~~~~~~~~~~~~~ 'isSupport' is declared here. FAIL __tests__/dispatcher/dom.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/dom.ts:13:28 - error TS2307: Cannot find module '../typings/base'. 13 import { UserConfig } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/watch.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/mousemove.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/load.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/autoload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/contextmenu.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ 1mchange-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/vessel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/class-plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ 0m FAIL __tests__/situation/penetrate.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ ----------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ----------|----------|----------|----------|----------|-------------------| All files | 0 | 0 | 0 | 0 | | ----------|----------|----------|----------|----------|-------------------| Summary of all failing tests FAIL __tests__/dispatcher/bus.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js ● Test suite failed to run TypeScript diagnostrnel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.e'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): sr[96msrc/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/kernels/native.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: β€’ To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config. β€’ If you need a custom transformation specify a "transform" option in your config. β€’ If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option. You'll find more detituation/class-plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/binder-utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/binder.ts:5:93 - error TS2307: Cannot find module '../typings/base'. 5 import { AdditionalEventInfo, BinderTarget, EventStage, RawEventInfo, WholeEventInfo } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-methods.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/penetrate.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ Test Suites: 40 failed, 40 total Tests: 0 total Snapshots: 0 total Time: 10.329s Ran all test suites. npm ERR! Test failed. See above for more details. ```

Node.js: 12

View build log

npm test ``` > chimee@1.0.1-alpha.0 test /home/travis/build/Chimeejs/chimee > jest --coverage && node env-check.js FAIL __tests__/dispatcher/bus.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/install-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/kernel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:232:14 - error TS7006: Parameter 'evt' implicitly has an 'any' type. 232 fn: (evt) => evt.preventDefault(), ~~~ src/dispatcher/index.ts:562:28 - error TS2322: Type 'string | number | boolean | void' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. 562 if (key !== 'src') { this.videoConfig[key] = originVideoConfig[key]; } ~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:643:14 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IChimeePluginConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '(...args: any[]) => any' provides no match for the signature 'new (...args: any[]): ChimeePlugin'. 643 ? new (pluginConfig as IChimeePluginConstructor)({id}, this, pluginOption) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:756:23 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IVideoKernelConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'isSupport' is missing in type '(...args: any[]) => any' but required in type 'IVideoKernelConstructor'. 756 const fn = (fnOrSKC as IVideoKernelConstructor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/kernels/base.ts:18:3 18 isSupport(): boolean; ~~~~~~~~~~~~~~~~~~~~~ 'isSupport' is declared here. FAIL __tests__/dispatcher/dom.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/dom.ts:13:28 - error TS2307: Cannot find module '../typings/base'. 13 import { UserConfig } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/watch.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/mousemove.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/load.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/autoload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/contextmenu.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/kernels/native.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: β€’ To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config. β€’ If you need a custom transformation specify a "transform" option in your config. β€’ If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option. You'll find more details and examples of these config options in the docs: https://jestjs.io/docs/en/configuration.html Details: /home/travis/build/Chimeejs/chimee/node_modules/lodash-es/lodash.js:10 export { default as add } from './add.js'; ^^^^^^ SyntaxError: Unexpected token export at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17) at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25) at Object. (node_modules/toxic-predicate-functions/lib/index.js:16:16) FAIL __tests__/chimee/static.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/method.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/attr-css.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/change-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/vessel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/class-plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/binder-utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/binder.ts:5:93 - error TS2307: Cannot find module '../typings/base'. 5 import { AdditionalEventInfo, BinderTarget, EventStage, RawEventInfo, WholeEventInfo } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-methods.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/penetrate.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ ----------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ----------|----------|----------|----------|----------|-------------------| All files | 0 | 0 | 0 | 0 | | ----------|----------|----------|----------|----------|-------------------| Summary of all failing tests FAIL __tests__/dispatcher/bus.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/install-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/kernel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:232:14 - error TS7006: Parameter 'evt' implicitly has an 'any' type. 232 fn: (evt) => evt.preventDefault(), ~~~ src/dispatcher/index.ts:562:28 - error TS2322: Type 'string | number | boolean | void' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. 562 if (key !== 'src') { this.videoConfig[key] = originVideoConfig[key]; } ~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:643:14 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IChimeePluginConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '(...args: any[]) => any' provides no match for the signature 'new (...args: any[]): ChimeePlugin'. 643 ? new (pluginConfig as IChimeePluginConstructor)({id}, this, pluginOption) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:756:23 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IVideoKernelConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'isSupport' is missing in type '(...args: any[]) => any' but required in type 'IVideoKernelConstructor'. 756 const fn = (fnOrSKC as IVideoKernelConstructor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/kernels/base.ts:18:3 18 isSupport(): boolean; ~~~~~~~~~~~~~~~~~~~~~ 'isSupport' is declared here. FAIL __tests__/dispatcher/dom.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/dom.ts:13:28 - error TS2307: Cannot find module '../typings/base'. 13 import { UserConfig } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/watch.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/mousemove.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/load.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/error.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/autoload.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/contextmenu.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/kernels/native.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: β€’ To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config. β€’ If you need a custom transformation specify a "transform" option in your config. β€’ If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option. You'll find more details and examples of these config options in the docs: https://jestjs.io/docs/en/configuration.html Details: /home/travis/build/Chimeejs/chimee/node_modules/lodash-es/lodash.js:10 export { default as add } from './add.js'; ^^^^^^ SyntaxError: Unexpected token export at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17) at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25) at Object. (node_modules/toxic-predicate-functions/lib/index.js:16:16) FAIL __tests__/chimee/static.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/method.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/attr-css.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/change-kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/index.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/life.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/kernel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/vessel.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/class-plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/plugin.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/binder-utils.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/binder.ts:5:93 - error TS2307: Cannot find module '../typings/base'. 5 import { AdditionalEventInfo, BinderTarget, EventStage, RawEventInfo, WholeEventInfo } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-methods.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/penetrate.js ● Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ Test Suites: 40 failed, 40 total Tests: 0 total Snapshots: 0 total Time: 10.524s Ran all test suites. npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: 9115f880-847f-11e9-ba35-05ed63620594
greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€