Skip to content

Commit

Permalink
better mock
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Jun 10, 2024
1 parent a7f59f8 commit e28156f
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Schema } from "@planx/components/List/model";
export const GenericUnitsTest: Schema = {
type: "Unit",
fields: [
// fn = "development" triggers summary stat
// fn = "development" triggers summary stat and options set "val"
{
type: "question",
data: {
Expand All @@ -25,22 +25,6 @@ export const GenericUnitsTest: Schema = {
],
},
},
// options set "val"
{
type: "question",
data: {
title: "What best describes the type of this unit?",
fn: "type",
options: [
{ id: "terraced", data: { text: "Terraced home", val: "terraced" } },
{
id: "semiDetached",
data: { text: "Semi detached home", val: "semiDetached" },
},
{ id: "detached", data: { text: "Detached home", val: "detached" } },
],
},
},
// options set "text" only
{
type: "question",
Expand Down

0 comments on commit e28156f

Please sign in to comment.