Skip to content

Commit d96eb56

Browse files
Resul AvanResul Avan
Resul Avan
authored and
Resul Avan
committed
firebase npm downgrade
1 parent 75f1fbf commit d96eb56

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

src/components/ui/PageTitle.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="columns has-margin-bottom-25 has-margin-top-25">
2+
<div id="pageTitle" class="columns has-margin-bottom-25 has-margin-top-25">
33
<div class="column has-text-centered">
44
<h1 class="title">
55
{{ title }}

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"cropperjs": "^1.5.7",
7575
"debounce": "^1.2.0",
7676
"dotenv": "^8.2.0",
77-
"firebase": "^7.17.1",
77+
"firebase": "^7.15.5",
7878
"firebase-admin": "^9.0.0",
7979
"handlers-module": "file:../functions/modules/handlers-module",
8080
"http-status-codes": "^1.4.0",

src/tests/jest-mocks.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import { config } from '@vue/test-utils'
22
config.mocks.$t = (key: string) => key
33
config.showDeprecationWarnings = false
4+
config.silent = false

src/tests/pages/index.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Vue.config.ignoredElements = ['b-icon']
1111
describe('HomePage', () => {
1212
const wrapper = mount(Index)
1313

14-
it('is a Vue component', () => {
14+
it('Home page loaded sucessfully', () => {
1515
expect(wrapper.vm).toBeTruthy()
16-
// expect(wrapper.vm.$meta()).toBeCalled()
16+
expect(wrapper.find('h1'))
1717
})
1818

1919
// it('check page title', () => {

src/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"nuxt-i18n",
3636
"cookie-universal-nuxt",
3737
"firebase",
38+
"nuxt-property-decorator",
3839
"types-module",
3940
"handlers-module"
4041
]

0 commit comments

Comments
 (0)