2026-07-07 10:37:00 +02:00
|
|
|
import LoadingScreen from '../../../../src/components/AppTemplates/PartialViews/LoadingScreen.vue'
|
2026-10-02 08:13:31 +02:00
|
|
|
import { defaultPlugins, mount } from '../../../../src/testing'
|
2026-07-07 10:37:00 +02:00
|
|
|
describe('The external app loading screen component', () => {
|
|
|
|
|
test('displays a spinner and a paragraph', () => {
|
|
|
|
|
const wrapper = mount(LoadingScreen, {
|
|
|
|
|
global: {
|
|
|
|
|
stubs: {
|
|
|
|
|
OcSpinner: true
|
|
|
|
|
},
|
|
|
|
|
plugins: [...defaultPlugins()]
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
expect(wrapper.html()).toMatchSnapshot()
|
|
|
|
|
})
|
|
|
|
|
})
|