Skip to content

Commit 81e20a2

Browse files
committed
Fix up egregious linting errors
1 parent e4a61df commit 81e20a2

4 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/AstroPiModel/AstroPiControls/Stopwatch.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import { render } from "@testing-library/react"
33
import { Provider } from 'react-redux';
44
import configureStore from 'redux-mock-store';
5+
import Sk from 'skulpt';
56
import Stopwatch from "./Stopwatch";
67

78
const middlewares = []

src/components/AstroPiModel/AstroPiModel.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { fireEvent, render } from "@testing-library/react"
33
import { Provider } from 'react-redux';
44
import AstroPiModel from "./AstroPiModel";
55
import configureStore from 'redux-mock-store';
6+
import Sk from 'skulpt';
67

78
let container;
89
let store;

src/components/Editor/Runners/PythonRunner/PythonRunner.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test("Input box not there when input function not called", () => {
7777

7878
})
7979

80-
describe("Testing basic input span functionality", () => {
80+
describe("Testing stopping the code run", () => {
8181
let store;
8282
beforeEach(() => {
8383
const middlewares = []

src/setupTests.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
// expect(element).toHaveTextContent(/react/i)
44
// learn more: https://github.com/testing-library/jest-dom
55
import '@testing-library/jest-dom';
6+
7+
/* global globalThis */
68
globalThis.IS_REACT_ACT_ENVIRONMENT = true;
9+
710
window.matchMedia = (query) => ({
811
matches: false,
912
media: query,

0 commit comments

Comments
 (0)