MNT ESLint issues (#2865)

This commit is contained in:
Sabina Talipova 2023-07-10 09:49:33 +12:00 committed by GitHub
parent e91b7c7f8e
commit 643801a01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
/* global jest, test, describe, beforeEach, it, expect, setTimeout */
import React from 'react';
import { Component as AnchorSelectorField } from '../AnchorSelectorField';
import anchorSelectorStates from 'state/anchorSelector/AnchorSelectorStates';
import { render, screen } from '@testing-library/react';
import { Component as AnchorSelectorField } from '../AnchorSelectorField';
jest.mock('isomorphic-fetch', () =>
() => Promise.resolve({
@ -50,7 +50,7 @@ test('AnchorSelectorField componentDidMount() Loads dirty selectors', async () =
test('AnchorSelectorField Merges value with page anchors', async () => {
const beginUpdating = jest.fn();
const { container } = render(<AnchorSelectorField {...makeProps({
render(<AnchorSelectorField {...makeProps({
loadingState: anchorSelectorStates.DIRTY,
actions: {
anchorSelector: {