update TopBar component tests

This commit is contained in:
enzoggqs
2023-01-12 15:15:05 -03:00
parent 8716bdb064
commit d66459bea9
8 changed files with 874 additions and 31 deletions

View File

@@ -1,10 +1,16 @@
/* eslint-disable no-undef */
import { shallowMount } from "@vue/test-utils";
import TopBar from "../TopBar.vue";
import { createApp } from "vue";
import App from "../../../App.vue";
import { createPinia } from "pinia";
const app = createApp(App);
app.use(createPinia());
describe("TopBar.vue", () => {
it("render component when called", () => {
const wrapper = shallowMount(TopBar);
expect(wrapper).toBeCalled();
// expect(wrapper).toBeCalled();
});
});