Page MenuHomePhabricator
Paste P13035

wikibase/termbox$ npm run test
ArchivedPublic

Authored by zeljkofilipin on Oct 20 2020, 2:49 PM.
Tags
None
Referenced Files
F32408609: wikibase/termbox$ npm run test
Oct 20 2020, 2:49 PM
Subscribers
None
~/Documents/gerrit/wikibase/termbox$ npm run test
> wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
> npm-run-all test:*
> wikibase-termbox@0.1.0 test:lint /Users/z/Documents/gerrit/wikibase/termbox
> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
DONE No lint errors found!
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
> wikibase-termbox@0.1.0 test:unit /Users/z/Documents/gerrit/wikibase/termbox
> vue-cli-service test:unit
PASS tests/unit/components/AliasesEdit.spec.ts
PASS tests/unit/components/AllEnteredLanguagesExpandable.spec.ts
PASS tests/unit/components/MonolingualFingerprintView.spec.ts
PASS tests/unit/server-entry.spec.ts
PASS tests/unit/components/TermBox.spec.ts
PASS tests/unit/components/AnonEditWarning.spec.ts
PASS tests/unit/components/LicenseAgreement.spec.ts
PASS tests/unit/components/InMoreLanguagesExpandable.spec.ts
PASS tests/unit/server/assertAndGetConfig.spec.ts
PASS tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts
PASS tests/unit/components/Sectionedit.spec.ts
PASS tests/unit/store/entity/mutations.spec.ts
PASS tests/unit/store/entity/actions.spec.ts
PASS tests/unit/components/LabelEdit.spec.ts
PASS tests/unit/client/axios/editTokenRequestInterceptor.spec.ts
PASS tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts
PASS tests/unit/server/buildOpenApiSpec.spec.ts
PASS tests/unit/components/App.spec.ts
PASS tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts
PASS tests/unit/client/axios/axiosFactory.spec.ts
PASS tests/unit/common/buildApp.spec.ts
PASS tests/unit/components/DescriptionEdit.spec.ts
PASS tests/unit/client/buildAndAttemptHydration.spec.ts
PASS tests/unit/common/getChildComponents.spec.ts
PASS tests/unit/client/init.spec.ts
PASS tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts
PASS tests/unit/components/Label.spec.ts
PASS tests/unit/server/axios/axiosFactory.spec.ts
PASS tests/unit/components/Aliases.spec.ts
PASS tests/unit/components/AllEnteredLanguages.spec.ts
PASS tests/unit/components/Description.spec.ts
PASS tests/unit/store/user/actions.spec.ts
PASS tests/unit/client/data-access/EntityRepository.spec.ts
PASS tests/unit/server/reportResponseTimeMetrics.spec.ts
PASS tests/unit/components/InMoreLanguages.spec.ts
PASS tests/unit/store/language/index.spec.ts
PASS tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts
PASS tests/unit/newFingerprintable.spec.ts
PASS tests/unit/components/MessageBanner.spec.ts
PASS tests/unit/store/messages/index.spec.ts
PASS tests/unit/components/Checkbox.spec.ts
PASS tests/unit/store/links/mutations.spec.ts
PASS tests/unit/components/EventEmittingButton.spec.ts
PASS tests/unit/client/data-access/BooleanCookieStore.spec.ts
PASS tests/unit/client/data-access/StringMWCookieStore.spec.ts
PASS tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts
PASS tests/unit/components/EditTools.spec.ts
PASS tests/unit/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.spec.ts
PASS tests/unit/store/links/index.spec.ts
PASS tests/unit/common/EntityInitializer.spec.ts
PASS tests/unit/datamodel/EntityRevision.spec.ts
PASS tests/unit/client/axios/formDataRequestTransformation.spec.ts
PASS tests/unit/store/user/mutations.spec.ts
PASS tests/unit/server/axios/getMwUserAgentString.spec.ts
PASS tests/unit/store/entity/getters.spec.ts
PASS tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts
PASS tests/unit/components/Modal.spec.ts
PASS tests/unit/common/TermboxServices.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts
PASS tests/unit/store/messages/mutations.spec.ts
PASS tests/unit/store/user/index.spec.ts
PASS tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts
PASS tests/unit/client/data-access/UlsLanguageRepository.spec.ts
PASS tests/unit/server/route-handler/termbox/CoercingQueryValidator.spec.ts
PASS tests/unit/common/data-access/DelegatingUserPreferenceRepository.spec.ts
PASS tests/unit/components/Overlay.spec.ts
PASS tests/unit/store/mutations.spec.ts
PASS tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts
PASS tests/unit/common/data-access/CompoundSingleUserPreferenceRepository.spec.ts
PASS tests/unit/store/language/mutations.spec.ts
PASS tests/unit/store/entity/index.spec.ts
PASS tests/unit/store/messages/getters.spec.ts
PASS tests/unit/store/index.spec.ts
PASS tests/unit/client/directives/inlanguage.spec.ts
PASS tests/unit/store/language/getters.spec.ts
PASS tests/unit/components/IconMessageBox.spec.ts
PASS tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts
PASS tests/unit/server/data-access/CachingMethodDecorator.spec.ts
PASS tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererServices.spec.ts
PASS tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts
PASS tests/unit/components/mixins/Messages.spec.ts
PASS tests/unit/server/directives/inlanguage.spec.ts
PASS tests/unit/client/data-access/MessagesRepository.spec.ts
PASS tests/unit/store/language/actions.spec.ts
PASS tests/unit/store/links/actions.spec.ts
PASS tests/unit/store/user/getters.spec.ts
PASS tests/unit/common/error/ContextError.spec.ts
PASS tests/unit/store/messages/actions.spec.ts
PASS tests/unit/common/TermboxRequest.spec.ts
PASS tests/unit/client/axios/assertUserRequestInterceptor.spec.ts
PASS tests/unit/client/directives/focus.spec.ts
PASS tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts
PASS tests/unit/common/data-access/AxiosTechnicalProblem.spec.ts
PASS tests/unit/store/actions.spec.ts
PASS tests/unit/components/mixins/newConfigMixin.spec.ts
FAIL tests/edge-to-edge/server/app.spec.ts
● Test suite failed to run
Cannot locate bundle file: /Users/z/Documents/gerrit/wikibase/termbox/serverDist/vue-ssr-server-bundle.json
30 | app.use( responseTime( reportResponseTimeMetrics( services.metrics ) ) );
31 |
> 32 | const renderer = createBundleRenderer(
| ^
33 | resolve( './serverDist/vue-ssr-server-bundle.json' ),
34 | {
35 | runInNewContext: false,
at Object.createBundleRenderer (node_modules/vue-server-renderer/build.dev.js:9501:15)
at Object.default_1 [as default] (src/server/app.ts:32:19)
at Object.<anonymous> (tests/edge-to-edge/server/app.spec.ts:77:22)
Summary of all failing tests
FAIL tests/edge-to-edge/server/app.spec.ts
● Test suite failed to run
Cannot locate bundle file: /Users/z/Documents/gerrit/wikibase/termbox/serverDist/vue-ssr-server-bundle.json
30 | app.use( responseTime( reportResponseTimeMetrics( services.metrics ) ) );
31 |
> 32 | const renderer = createBundleRenderer(
| ^
33 | resolve( './serverDist/vue-ssr-server-bundle.json' ),
34 | {
35 | runInNewContext: false,
at Object.createBundleRenderer (node_modules/vue-server-renderer/build.dev.js:9501:15)
at Object.default_1 [as default] (src/server/app.ts:32:19)
at Object.<anonymous> (tests/edge-to-edge/server/app.spec.ts:77:22)
Test Suites: 1 failed, 96 passed, 97 total
Tests: 366 passed, 366 total
Snapshots: 0 total
Time: 8.242s, estimated 13s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wikibase-termbox@0.1.0 test:unit: `vue-cli-service test:unit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wikibase-termbox@0.1.0 test:unit 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/z/.npm/_logs/2020-10-20T14_48_57_826Z-debug.log
ERROR: "test:unit" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wikibase-termbox@0.1.0 test: `npm-run-all test:*`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wikibase-termbox@0.1.0 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/z/.npm/_logs/2020-10-20T14_48_57_851Z-debug.log