Skip to content

Commit

Permalink
chore(deps): bump (#739)
Browse files Browse the repository at this point in the history
* chore: bump deps

* chore: lint

* chore: remove some eslint-disables

* chore: does downgrading node-fetch fix it?

* Revert "chore: does downgrading node-fetch fix it?"

This reverts commit a8b24a3.

* chore: try downgrading jest

* Revert "chore: try downgrading jest"

This reverts commit 67be463.

* chore: try downgrading TS

* Revert "chore: try downgrading TS"

This reverts commit e256efc.

* revert: restore lockfile

gonna try this piecemeal oh boy

* chore(deps-dev): eslint + friends

* chore(deps): upgrade TS

* chore: upgrade type-fest

* chore: upgrade jest + types

* Revert "chore: upgrade jest + types"

This reverts commit 21f02df.

* chore: bump more deps

@types/validator config nock node-fetch oas oas-normalize

* chore: bump ts-jest jest-extended

* chore: bump jest

* ci: some test fixes

* revert: maybe we don't actually need this?

i'm so confused man wtf
  • Loading branch information
kanadgupta authored Jan 31, 2023
1 parent 848c63b commit d311af9
Show file tree
Hide file tree
Showing 7 changed files with 1,184 additions and 1,195 deletions.
6 changes: 1 addition & 5 deletions __tests__/lib/fetch.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable @typescript-eslint/ban-ts-comment, no-console */
import config from 'config';
import { Headers } from 'node-fetch';

Expand Down Expand Up @@ -128,7 +128,6 @@ describe('#fetch()', () => {

await fetch(`${config.get('host')}/api/v1/some-warning`);

// eslint-disable-next-line no-console
expect(console.warn).toHaveBeenCalledTimes(0);
expect(getWarningCommandOutput()).toBe('');

Expand All @@ -142,7 +141,6 @@ describe('#fetch()', () => {

await fetch(`${config.get('host')}/api/v1/some-warning`);

// eslint-disable-next-line no-console
expect(console.warn).toHaveBeenCalledTimes(1);
expect(getWarningCommandOutput()).toBe('⚠️ ReadMe API Warning: some error');

Expand All @@ -156,7 +154,6 @@ describe('#fetch()', () => {

await fetch(`${config.get('host')}/api/v1/some-warning`);

// eslint-disable-next-line no-console
expect(console.warn).toHaveBeenCalledTimes(2);
expect(getWarningCommandOutput()).toBe(
'⚠️ ReadMe API Warning: some error\n\n⚠️ ReadMe API Warning: another error'
Expand All @@ -172,7 +169,6 @@ describe('#fetch()', () => {

await fetch(`${config.get('host')}/api/v1/some-warning`);

// eslint-disable-next-line no-console
expect(console.warn).toHaveBeenCalledTimes(1);
expect(getWarningCommandOutput()).toBe('⚠️ ReadMe API Warning: some garbage error');

Expand Down
Loading

0 comments on commit d311af9

Please sign in to comment.