Skip to content

Commit

Permalink
feat(project): rename fullfill=>fulfill
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Apr 9, 2021
1 parent 1a955dd commit 0b794f1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Object {
"x-decorator": "FormItem",
"x-reactions": Array [
Object {
"fullfill": Object {
"fulfill": Object {
"schema": Object {},
},
"target": "xxx",
Expand Down Expand Up @@ -179,7 +179,7 @@ Object {
"x-decorator": "FormItem",
"x-reactions": Array [
Object {
"fullfill": Object {
"fulfill": Object {
"schema": Object {},
},
"target": "xxx",
Expand Down Expand Up @@ -251,7 +251,7 @@ Object {
"x-decorator": "FormItem",
"x-reactions": Array [
Object {
"fullfill": Object {
"fulfill": Object {
"schema": Object {},
},
"target": "xxx",
Expand Down
6 changes: 3 additions & 3 deletions packages/json-schema/src/__tests__/patches.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('v1 polyfill', () => {
expect(schema3['x-reactions']).toEqual([
{
when: '{{$self.value == 123}}',
fullfill: {
fulfill: {
state: {
visible: true,
},
Expand Down Expand Up @@ -70,7 +70,7 @@ test('v1 polyfill', () => {
{
when: '{{$self.value == 123}}',
target: 'xxx',
fullfill: {
fulfill: {
schema: {
version: '1.0',
title: 'xxx',
Expand Down Expand Up @@ -106,7 +106,7 @@ test('v1 polyfill', () => {
{
when: '{{$self.value == 123}}',
target: 'xxx',
fullfill: {
fulfill: {
state: {
title: 'xxx',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/json-schema/src/__tests__/schema.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ test('all methods', () => {
{
target: 'xxx',
when: true,
fullfill: {
fulfill: {
schema: {},
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/__tests__/schema.markup.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ test('schema reactions', async () => {
x-reactions={[
{
when: '{{$form.values.aaa === "123"}}',
fullfill: {
fulfill: {
state: {
visible: true,
},
Expand All @@ -444,7 +444,7 @@ test('schema reactions', async () => {
{
when: '{{$self.value === "123"}}',
target: 'ccc',
fullfill: {
fulfill: {
schema: {
'x-visible': true,
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/__tests__/schema.markup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ describe('recursion field', () => {
// reactions: [
// {
// when: '{{$form.values.aaa === "123"}}',
// fullfill: {
// fulfill: {
// state: {
// visible: true,
// },
Expand All @@ -581,7 +581,7 @@ describe('recursion field', () => {
// {
// when: '{{$self.value === "123"}}',
// target: 'ccc',
// fullfill: {
// fulfill: {
// schema: {
// 'x-visible': true,
// },
Expand Down

0 comments on commit 0b794f1

Please sign in to comment.