mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
@MoldaB here's how you can register plugins in a frontend test. Pro tip: You can run `yarn run test --run-in-band` to find out where the console.errors come from. Jest, by default, runs in parallel which makes it a little difficult to debug errors that don't fail the test.
5 lines
96 B
JavaScript
5 lines
96 B
JavaScript
import Vue from 'vue'
|
|
import infiniteScroll from 'vue-infinite-scroll'
|
|
|
|
Vue.use(infiniteScroll)
|