Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("Editor componet", () => {
const setAttributes = jest.fn();

//render component
const {getByLabel} = render(
const {getByLabelText} = render(
<Editor
{...{
attributes,
Expand All @@ -116,7 +116,7 @@ describe("Editor componet", () => {
);

//Get the input by label text
const input getByLabelText('Edit Value');
const input = getByLabelText('Edit Value');
//Fire a change event on the input
fireEvent.change(input, {
target: { value: "New Value" }
Expand Down