mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
delete chai/required-should from import statements
This commit is contained in:
parent
0efb5e4d77
commit
6fd550fa6c
12 changed files with 2 additions and 12 deletions
|
|
@ -36,7 +36,7 @@
|
|||
"typescript": "^4.4.3"
|
||||
},
|
||||
"volta": {
|
||||
"node": "14.18.1",
|
||||
"node": "18.16.1",
|
||||
"yarn": "1.22.19"
|
||||
},
|
||||
"dependencies": {}
|
||||
|
|
|
|||
|
|
@ -149,6 +149,6 @@
|
|||
},
|
||||
"volta": {
|
||||
"node": "18.16.1",
|
||||
"yarn": "1.22.18"
|
||||
"yarn": "1.22.19"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import chai, { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { createTestUser, deleteTestUser } from '../db'
|
||||
import sinonChai from 'sinon-chai'
|
||||
import sinon from 'sinon'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { validateUrl } from '../../src/services/create_page_save_request'
|
||||
|
||||
describe('validateUrl', () => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import chai, { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import {
|
||||
createTestUser,
|
||||
createUserWithoutProfile,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import {
|
||||
createTestLabel,
|
||||
createTestLink,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { createTestUser, deleteTestUser } from '../db'
|
||||
import { SaveContext, saveEmail } from '../../src/services/save_email'
|
||||
import { createPubSubClient } from '../../src/datalayer/pubsub'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import 'mocha'
|
||||
import nock from 'nock'
|
||||
import { createPubSubClient } from '../../src/datalayer/pubsub'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { validatedDate } from '../../src/utils/helpers'
|
||||
|
||||
describe('validatedDate', () => {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import 'mocha'
|
||||
import * as chai from 'chai'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import fs from 'fs'
|
||||
import {
|
||||
getTitleFromEmailSubject,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { InFilter, parseSearchQuery, ReadFilter } from '../../src/utils/search'
|
||||
import { PageType } from '../../src/generated/graphql'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'mocha'
|
||||
import { expect } from 'chai'
|
||||
import 'chai/register-should'
|
||||
import { contentReaderForPage } from '../../src/utils/uploads'
|
||||
import { ContentReader, PageType } from '../../src/generated/graphql'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue