From e28156fa7a8611e58a488a81b561d36a3c52d927 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 10 Jun 2024 22:44:00 +0200 Subject: [PATCH] better mock --- .../List/schemas/GenericUnitsTest.ts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/List/schemas/GenericUnitsTest.ts b/editor.planx.uk/src/@planx/components/List/schemas/GenericUnitsTest.ts index e7551a41ac..f8f7d45076 100644 --- a/editor.planx.uk/src/@planx/components/List/schemas/GenericUnitsTest.ts +++ b/editor.planx.uk/src/@planx/components/List/schemas/GenericUnitsTest.ts @@ -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: { @@ -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",