revert octokit changes

This commit is contained in:
Tatyana Kostromskaya committed 2023-09-26 11:05:37 +00:00
1 parent 4ac965b96a
commit 5653404e2c
5 files changed
+328 -410

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import * as http from 'http'
import { createProxy } from 'proxy'
import proxy from 'proxy'
import {getOctokit} from '../src/github'
import {GitHub, getOctokitOptions} from '../src/utils'
@@ -12,7 +12,7 @@ describe('@actions/github', () => {
beforeAll(async () => {
// Start proxy server
proxyServer = createProxy()
proxyServer = proxy()
await new Promise(resolve => {
const port = Number(proxyUrl.split(':')[2])
proxyServer.listen(port, () => resolve(null))