Skip to content

Commit

Permalink
fix failing node specs, part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kong committed Nov 30, 2023
1 parent d3be1ca commit 0a2ca78
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect';
import expect from 'expect';
import * as React from 'react';

import { connectToolIcon, diagnosticToolIcon, evidenceToolIcon, getIconForActivityClassification, grammarToolIcon, lessonsToolIcon, proofreaderToolIcon } from '../../../Shared';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect';
import expect from 'expect';
import { isValidRegex } from '../../../Shared';

describe('#isValidRegex', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`WelcomeModal component should render WelcomeModal 1`] = `
<div
className="modal-background"
/>
<Component
<ForwardRef
height={900}
numberOfPieces={700}
recycle={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import {

import { Results, } from '../results'

jest.mock('qs', () => ({
default: {
parse: jest.fn(() => ({}))
}
})
)
// jest.mock('qs', () => ({
// default: {
// parse: jest.fn(() => ({}))
// }
// })
// )

describe('Results component', () => {
it('should render when there are results', () => {
Expand Down

0 comments on commit 0a2ca78

Please sign in to comment.