Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.21 KB | None | 0 0
  1. files committed, 1 file failed to commit: display error message if nickname is already taken husky > pre-commit (node v10.16.3) > betahub@0.1.0 test:unit D:\Projects\betahub\frontend > vue-cli-service test:unit --runInBand PASS tests/unit/LoginForm.spec.js ● Console console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersions' has a default child route. When navigating to this named route (:to="{name: 'GameVersions'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersion' has a default child route. When navigating to this named route (:to="{name: 'GameVersion'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'Forum' has a default child route. When navigating to this named route (:to="{name: 'Forum'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.log __mocks__/authenticate.js:27 success { email: 'example@example.com', password: '123456' } console.log src/router.js:376 router.checkPending Set {} console.log __mocks__/authenticate.js:30 error { email: 'example@example.com', password: '12345678' } { status: 401, body: { errors: { user_authentication: [Array] } } } FAIL tests/unit/SingUpForm.spec.js ● Console console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersions' has a default child route. When navigating to this named route (:to="{name: 'GameVersions'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersion' has a default child route. When navigating to this named route (:to="{name: 'GameVersion'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'Forum' has a default child route. When navigating to this named route (:to="{name: 'Forum'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm console.log src/store/pending.js:12 ADD_PENDING SignUpForm ● SignUpForm View › Renders all form elements but not message expect(received).toBe(expected) // Object.is equality Expected: 4 Received: 3 102 | 103 | test('Renders all form elements but not message', () => { > 104 | expect(allInputComponents.length).toBe(4); | ^ 105 | expect(inputElements.email.exists()).toBe(true); 106 | expect(inputElements.password.exists()).toBe(true); 107 | expect(inputElements.password_confirmation.exists()).toBe(true); at Object.toBe (tests/unit/SingUpForm.spec.js:104:39) ● Methods › Submitting properly filled form › submit › errors don't exist expect(received).toBe(expected) // Object.is equality Expected: false Received: true 189 | 190 | test(`errors don't exist`, () => { > 191 | expect(wrapper.find('.error--text').exists()).toBe(false); | ^ 192 | }) 193 | 194 | // test('status should be "pending"', () => { at Object.toBe (tests/unit/SingUpForm.spec.js:191:55) PASS tests/unit/CustomInput.spec.js PASS tests/unit/ProfileFormPassword.spec.js ● Console console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersions' has a default child route. When navigating to this named route (:to="{name: 'GameVersions'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersion' has a default child route. When navigating to this named route (:to="{name: 'GameVersion'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'Forum' has a default child route. When navigating to this named route (:to="{name: 'Forum'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:16 REMOVE_PENDING ProfileFormPassword console.log src/store/pending.js:12 ADD_PENDING ProfileFormPassword console.log src/store/pending.js:16 REMOVE_PENDING ProfileFormPassword PASS tests/unit/Logout.spec.js ● Console console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersions' has a default child route. When navigating to this named route (:to="{name: 'GameVersions'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersion' has a default child route. When navigating to this named route (:to="{name: 'GameVersion'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'Forum' has a default child route. When navigating to this named route (:to="{name: 'Forum'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.error node_modules/vuex/dist/vuex.common.js:387 [vuex] unknown mutation type: joinedGames/REMOVE_LINK_INVITE console.log src/router.js:376 router.checkPending Set {} PASS tests/unit/getters.spec.js PASS tests/unit/views/Organization.spec.js PASS tests/unit/actions.spec.js ● Console console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersions' has a default child route. When navigating to this named route (:to="{name: 'GameVersions'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'GameVersion' has a default child route. When navigating to this named route (:to="{name: 'GameVersion'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.warn node_modules/vue-router/dist/vue-router.common.js:18 [vue-router] Named Route 'Forum' has a default child route. When navigating to this named route (:to="{name: 'Forum'"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead. console.error node_modules/vue/dist/vue.runtime.common.dev.js:621 [Vue warn]: Error in nextTick: "TypeError: Cannot read property 'isComingSoon' of undefined" console.error node_modules/vue/dist/vue.runtime.common.dev.js:1884 TypeError: Cannot read property 'isComingSoon' of undefined at isComingSoon (D:\Projects\betahub\frontend\src\store\actions.js:56:23) at Array. (D:\Projects\betahub\frontend\node_modules\vue\dist\vue.runtime.common.dev.js:1976:12) at flushCallbacks (D:\Projects\betahub\frontend\node_modules\vue\dist\vue.runtime.common.dev.js:1902:14) PASS tests/unit/ProfileForm.spec.js PASS tests/unit/mutations.spec.js PASS tests/unit/state.spec.js Test Suites: 1 failed, 10 passed, 11 total Tests: 2 failed, 72 passed, 74 total Snapshots: 0 total Time: 6.957s Ran all test suites. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! betahub@0.1.0 test:unit: `vue-cli-service test:unit --runInBand` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the betahub@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! C:\Users\Adam\AppData\Roaming\npm-cache\_logs\2019-09-20T10_54_57_872Z-debug.log husky > pre-commit hook failed (add --no-verify to bypass)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement