Hey @itibbers,
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.
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';
~~~~~~~~~~~~~~~~
PASS __tests__/kernels/native.js
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__/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__/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__/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 | 100 | 85.71 | 91.67 | 100 | |
native.ts | 100 | 85.71 | 91.67 | 100 | 63 |
-----------|----------|----------|----------|----------|-------------------|
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__/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__/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__/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__/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: 39 failed, 1 passed, 40 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 10.714s
Ran all test suites.
npm ERR! Test failed. See above for more details.
```
Travis tests have failed
Hey @itibbers, 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: 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'; ~~~~~~~~~~~~~~~~ PASS __tests__/kernels/native.js 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__/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__/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__/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 | 100 | 85.71 | 91.67 | 100 | | native.ts | 100 | 85.71 | 91.67 | 100 | 63 | -----------|----------|----------|----------|----------|-------------------| 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__/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__/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__/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__/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: 39 failed, 1 passed, 40 total Tests: 3 passed, 3 total Snapshots: 0 total Time: 10.714s Ran all test suites. npm ERR! Test failed. See above for more details. ```TravisBuddy Request Identifier: a7fa2d60-f6f2-11e9-bdcb-879e987f4e2b