Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Oct 1, 2022
1 parent a258814 commit ad51f2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -108,7 +108,7 @@
"@types/lodash.mapvalues": "^4.6.6",
"@types/lodash.memoize": "^4.1.3",
"@types/micromatch": "^3.1.0",
"@types/nock": "^13.2.0",
"@types/nock": "^11.1.0",
"@types/node": "^10.11.3",
"@types/node-fetch": "^2.5.12",
"@types/p-limit": "^2.0.0",
Expand All @@ -130,7 +130,7 @@
"jest-json-reporter": "^1.2.2",
"lint-staged": "^12.3.7",
"madge": "^5.0.1",
"nock": "^10.0.6",
"nock": "^13.2.0",
"pkg": "^5.4.0",
"prettier": "^2.5.1",
"release-it": "^13.5.2",
Expand Down
6 changes: 3 additions & 3 deletions source/platforms/gitlab/_tests/_gitlab_api.test.ts
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
import nock, { NockDefinition } from "nock"
import nock, { Definition } from "nock"
import { default as GitLabAPI, getGitLabAPICredentialsFromEnv } from "../GitLabAPI"
import { resolve } from "path"
import { readFileSync } from "fs"
Expand Down Expand Up @@ -56,8 +56,8 @@ describe("GitLab API", () => {
expect(api.mergeRequestURL).toBe("https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/27117")
})

const sanitizeUserResponse = (nocks: NockDefinition[]): NockDefinition[] => {
return nocks.map((nock: NockDefinition) => {
const sanitizeUserResponse = (nocks: Definition[]): Definition[] => {
return nocks.map((nock: Definition) => {
let { response, ...restNock } = nock

// @ts-ignore
Expand Down

0 comments on commit ad51f2b

Please sign in to comment.