Skip to content

Commit 189e11b

Browse files
committed
Make Vue tests work
1 parent b94328d commit 189e11b

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

components/Index/Hero.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
<script>
4343
import { Swiper, SwiperSlide } from 'vue-awesome-swiper'
4444
45-
import 'swiper/swiper-bundle.min.css'
46-
4745
export default {
4846
name: 'Hero',
4947
components: {

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
},
2424

2525
// Global CSS (https://go.nuxtjs.dev/config-css)
26-
css: ['@/assets/css/animate.min.css'],
26+
css: ['@/assets/css/animate.min.css', 'swiper/swiper-bundle.min.css'],
2727

2828
// Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
2929
plugins: [

plugins/apollo-client-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const middleware = new ApolloLink((operation, forward) => {
3636
})
3737

3838
export const afterware = new ApolloLink((operation, forward) => {
39-
return forward(operation).map(() => {
39+
return forward(operation).map((response) => {
4040
/**
4141
* Check for session header and update session in local storage accordingly.
4242
*/

0 commit comments

Comments
 (0)