update dependancy components & config tests - Issue #1776
This commit is contained in:
8701
package-lock.json
generated
8701
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -127,6 +127,7 @@ describe("ParticipationWithoutAccount", () => {
|
||||
uuid: eventData.uuid,
|
||||
});
|
||||
await flushPromises();
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
expect(wrapper.find(".container").isVisible()).toBeTruthy();
|
||||
expect(wrapper.find(".o-notification--info").text()).toBe(
|
||||
@@ -138,11 +139,11 @@ describe("ParticipationWithoutAccount", () => {
|
||||
wrapper.find("form").trigger("submit");
|
||||
|
||||
await flushPromises();
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith(
|
||||
expect.objectContaining(joinEventMock)
|
||||
);
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
const cachedData = mockClient?.cache.readQuery<{ event: IEvent }>({
|
||||
query: FETCH_EVENT_BASIC,
|
||||
@@ -197,6 +198,7 @@ describe("ParticipationWithoutAccount", () => {
|
||||
});
|
||||
|
||||
await flushPromises();
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
// expect(wrapper.vm.$data.event.joinOptions).toBe(
|
||||
// EventJoinOptions.RESTRICTED
|
||||
@@ -216,11 +218,11 @@ describe("ParticipationWithoutAccount", () => {
|
||||
wrapper.find("form").trigger("submit");
|
||||
|
||||
await flushPromises();
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
expect(requestHandlers.joinEventMutationHandler).toHaveBeenCalledWith(
|
||||
expect.objectContaining(joinEventMock)
|
||||
);
|
||||
expect(wrapper.vm.error).toBe(false);
|
||||
|
||||
const cachedData = mockClient?.cache.readQuery<{ event: IEvent }>({
|
||||
query: FETCH_EVENT_BASIC,
|
||||
|
||||
@@ -114,6 +114,7 @@ export default defineConfig(({ command }) => {
|
||||
reporter: ["junit", "default"],
|
||||
outputFile: path.resolve(__dirname, "./junit.xml"),
|
||||
coverage: {
|
||||
reportOnFailure: true,
|
||||
reporter: ["text", "json", "html"],
|
||||
reportsDirectory: path.resolve(__dirname, "./coverage"),
|
||||
include: ["src/**/*.{vue,js,ts}"],
|
||||
|
||||
Reference in New Issue
Block a user