Skip to content

Commit

Permalink
modified test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nroh555 committed Jun 7, 2024
1 parent 2d21692 commit 9f43395
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions web/__test__/MapToExec.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe("mapToExec", () => {
{
id: 1,
attributes: {
name: "John Doe",
name: "Guryash",
bio: "A great leader",
position: "President",
image: {
Expand All @@ -27,7 +27,7 @@ describe("mapToExec", () => {
const expected: Exec[] = [
{
id: 1,
name: "John Doe",
name: "Guryash",
bio: "A great leader",
position: "President",
image: "/uploads/john_doe.jpg",
Expand All @@ -43,7 +43,7 @@ describe("mapToExec", () => {
{
id: 1,
attributes: {
name: "Jane Doe",
name: "Guryash",
bio: "A great vice president",
position: "Vice President",
image: null,
Expand All @@ -55,7 +55,7 @@ describe("mapToExec", () => {
const expected: Exec[] = [
{
id: 1,
name: "Jane Doe",
name: "Guryash",
bio: "A great vice president",
position: "Vice President",
image: "",
Expand Down Expand Up @@ -105,7 +105,7 @@ describe("mapToExec", () => {
{
id: 1,
attributes: {
name: "John Smith",
name: "Guryash",
bio: null,
position: "Secretary",
image: {
Expand All @@ -123,7 +123,7 @@ describe("mapToExec", () => {
const expected: Exec[] = [
{
id: 1,
name: "John Smith",
name: "Guryash",
bio: "",
position: "Secretary",
image: "/uploads/john_smith.jpg",
Expand All @@ -139,7 +139,7 @@ describe("mapToExec", () => {
{
id: 1,
attributes: {
name: "John Smith",
name: "Guryash",
bio: "A great secretary",
position: null,
image: {
Expand All @@ -157,7 +157,7 @@ describe("mapToExec", () => {
const expected: Exec[] = [
{
id: 1,
name: "John Smith",
name: "Guryash",
bio: "A great secretary",
position: "",
image: "/uploads/john_smith.jpg",
Expand Down

0 comments on commit 9f43395

Please sign in to comment.