Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
fix(page): specify the relationships to include
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 15, 2022
1 parent b24032c commit 0772c02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/user/list.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-tabs */
/* eslint-disable no-undef */
/* eslint-disable vue/sort-keys */
import { mount, flushPromises } from "@vue/test-utils"
import { mount } from "@vue/test-utils"

import type { DeserializedUserProfile, DeserializedUserResource } from "$/types/documents/user"

Expand Down Expand Up @@ -33,7 +33,7 @@ describe("Page: user/list", () => {
.beUnreachableEmployee()
.attach(role)
.deserializedOne()
const userProfile = user as DeserializedUserProfile
const userProfile = user as DeserializedUserProfile<"roles"|"department">

fetchMock.mockResponse(
JSON.stringify({
Expand Down Expand Up @@ -71,7 +71,7 @@ describe("Page: user/list", () => {
.beReachableEmployee()
.attach(role)
.deserializedOne()
const userProfile = user as DeserializedUserProfile
const userProfile = user as DeserializedUserProfile<"roles"|"department">

fetchMock.mockResponse(
JSON.stringify({
Expand Down Expand Up @@ -112,7 +112,7 @@ describe("Page: user/list", () => {
.beUnreachableEmployee()
.attach(role)
.deserializedOne()
const userProfile = user as DeserializedUserProfile
const userProfile = user as DeserializedUserProfile<"roles"|"department">

fetchMock.mockResponse(
JSON.stringify({
Expand Down

0 comments on commit 0772c02

Please sign in to comment.