Skip to content

Commit

Permalink
Update tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Oct 13, 2023
1 parent 4c56ce0 commit 007b920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import customField from "./customField"

describe('customField', () => {
it('sets the the field correctly', () => {
expect(customField({name: "Name of Field", label: "Field Label"})).toMatchSnapshot();
expect(customField({name: "Name of Field", label: "Field Label", type:"supporter"})).toMatchSnapshot();
})
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import customFields from "."
describe('customFields', () => {
it('sets the the field correctly', () => {
expect(customFields([
{name: "Name of Field", label: "Field Label"},
{name: "Another Field Name", label: "Label2"}
{name: "Name of Field", label: "Field Label", type: 'supporter'},
{name: "Another Field Name", label: "Label2", type: 'supporter'}
])).toMatchSnapshot();
});

Expand Down

0 comments on commit 007b920

Please sign in to comment.