mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix all tests
This commit is contained in:
parent
b71b20ae81
commit
938f5ccdf9
@ -24,6 +24,9 @@ describe('SearchResults', () => {
|
||||
beforeEach(() => {
|
||||
mocks = {
|
||||
$t: jest.fn(),
|
||||
$env: {
|
||||
CATEGORIES_ACTIVE: false,
|
||||
},
|
||||
}
|
||||
getters = {
|
||||
'auth/user': () => {
|
||||
|
||||
@ -34,6 +34,9 @@ describe('post/_id.vue', () => {
|
||||
}),
|
||||
},
|
||||
},
|
||||
$env: {
|
||||
CATEGORIES_ACTIVE: false,
|
||||
},
|
||||
}
|
||||
store = new Vuex.Store({
|
||||
getters: {
|
||||
|
||||
@ -29,6 +29,10 @@ describe('Registration', () => {
|
||||
query: {},
|
||||
},
|
||||
$env: {},
|
||||
$toast: {
|
||||
error: jest.fn(),
|
||||
success: jest.fn(),
|
||||
},
|
||||
}
|
||||
asyncData = false
|
||||
isLoggedIn = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user