Skip to content

Commit

Permalink
✨ [#2] Rename radio test values
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Oct 26, 2023
1 parent dab8ef2 commit 47eb88d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions test-d/formio/components/radio.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {RadioComponentSchema} from '../../../lib';
expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
openForms: {
dataSrc: 'manual',
translations: {},
Expand All @@ -24,8 +24,8 @@ expectAssignable<RadioComponentSchema>({
expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
openForms: {
dataSrc: 'variable',
itemsExpression: 'dummy',
Expand All @@ -37,8 +37,8 @@ expectAssignable<RadioComponentSchema>({
expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
multiple: false,
defaultValue: 'dummy',
openForms: {
Expand All @@ -52,8 +52,8 @@ expectAssignable<RadioComponentSchema>({
expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
multiple: false,
defaultValue: null,
openForms: {
Expand All @@ -67,8 +67,8 @@ expectAssignable<RadioComponentSchema>({
expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
multiple: false,
defaultValue: 'dummy',
openForms: {
Expand Down Expand Up @@ -98,8 +98,8 @@ expectAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
// basic tab
label: 'Some radio',
key: 'someRadio',
label: 'A radio',
key: 'aRadio',
description: '',
tooltip: 'A tooltip',
showInSummary: true,
Expand Down Expand Up @@ -143,16 +143,16 @@ expectAssignable<RadioComponentSchema>({
expectNotAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
});

// multiple true not allowed
expectNotAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
multiple: true,
openForms: {
dataSrc: 'variable',
Expand All @@ -165,8 +165,8 @@ expectNotAssignable<RadioComponentSchema>({
expectNotAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
defaultValue: [{dummy: true}],
openForms: {
dataSrc: 'variable',
Expand All @@ -179,8 +179,8 @@ expectNotAssignable<RadioComponentSchema>({
expectNotAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
openForms: {
dataSrc: 'manual',
translations: {},
Expand All @@ -191,8 +191,8 @@ expectNotAssignable<RadioComponentSchema>({
expectNotAssignable<RadioComponentSchema>({
id: 'yejak',
type: 'radio',
key: 'someRadio',
label: 'Some radio',
key: 'aRadio',
label: 'A radio',
openForms: {
dataSrc: 'variable',
translations: {},
Expand Down

0 comments on commit 47eb88d

Please sign in to comment.