@stencil/[email protected] /Users/joewoodhouse/src/coreo/guideyouragent-pwa
└── @stencil/[email protected]
> @stencil/[email protected] test /Users/joewoodhouse/src/coreo/guideyouragent-pwa
> jest --no-cache
FAIL dist/collection/dependencies/components/__tests__/test-app.js
● Test suite failed to run
/Users/joewoodhouse/src/coreo/guideyouragent-pwa/dist/collection/dependencies/components/__tests__/test-app.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export class TestApp {
^^^^^^
SyntaxError: Unexpected token export
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
FAIL dist/collection/dependencies/components/__tests__/test-demo-three.js
● Test suite failed to run
/Users/joewoodhouse/src/coreo/guideyouragent-pwa/dist/collection/dependencies/components/__tests__/test-demo-three.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export class TestDemoThree {
^^^^^^
SyntaxError: Unexpected token export
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
FAIL dist/collection/dependencies/components/__tests__/test-demo-four.js
● Test suite failed to run
/Users/joewoodhouse/src/coreo/guideyouragent-pwa/dist/collection/dependencies/components/__tests__/test-demo-four.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export class TestDemoFour {
^^^^^^
SyntaxError: Unexpected token export
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
FAIL dist/collection/dependencies/components/__tests__/test-demo-six.js
● Test suite failed to run
/Users/joewoodhouse/src/coreo/guideyouragent-pwa/dist/collection/dependencies/components/__tests__/test-demo-six.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export class TestDemoSix {
^^^^^^
SyntaxError: Unexpected token export
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
PASS src/components/app-home/app-home.spec.ts
PASS src/components/my-app/my-app.spec.ts
FAIL src/components/app-profile/app-profile.spec.ts
● app-profile › rendering › should work with a name passed
expect(received).toEqual(expected)
Expected value to equal:
"Hello! My name is stencil. My name was passed in through a route param!"
Received:
"Ionic PWA ToolkitHello! My name is stencil. My name was passed in through a route param!"
at Object.<anonymous> (src/components/app-profile/app-profile.spec.ts:83:53)
at step (src/components/app-profile/app-profile.spec.ts:32:23)
at Object.next (src/components/app-profile/app-profile.spec.ts:13:53)
at fulfilled (src/components/app-profile/app-profile.spec.ts:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Test Suites: 5 failed, 2 passed, 7 total
Tests: 1 failed, 4 passed, 5 total
Snapshots: 0 total
Time: 4.033s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @stencil/[email protected] test: `jest --no-cache`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @stencil/[email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/joewoodhouse/.npm/_logs/2018-02-01T09_20_24_820Z-debug.log