Skip to content

Commit f10fb31

Browse files
committed
fix tests
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 36f41cd commit f10fb31

10 files changed

Lines changed: 177 additions & 270 deletions

File tree

biome.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
":BLANK_LINE:",
1919
"@primer/**",
2020
":BLANK_LINE:",
21+
"@octokit/**",
22+
":BLANK_LINE:",
2123
":PACKAGE:",
2224
":BLANK_LINE:",
2325
["**/__mocks__/**", "**/__helpers__/**"],

jest.config.ts

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
import type { Config } from 'jest';
22

33
const esmPackages = [
4-
'@primer/react',
5-
'@primer/primitives',
6-
'@primer/octicons-react',
7-
'@lit-labs/react',
8-
'lit',
94
'@github/relative-time-element',
105
'@github/tab-container-element',
11-
'@octokit/oauth-methods',
12-
'@octokit/oauth-authorization-url',
13-
'@octokit/request',
14-
'@octokit/request-error',
15-
'@octokit/endpoint',
6+
'@lit-labs/react',
7+
'@octokit/app',
168
'@octokit/core',
9+
'@octokit/endpoint',
10+
'@octokit/oauth-authorization-url',
11+
'@octokit/oauth-methods',
12+
'@octokit/graphql',
13+
'@octokit/plugin-paginate-graphql',
1714
'@octokit/plugin-paginate-rest',
15+
'@octokit/plugin-retry',
1816
'@octokit/plugin-rest-endpoint-methods',
17+
'@octokit/plugin-throttling',
18+
'@octokit/request',
19+
'@octokit/request-error',
20+
'@primer/octicons-react',
21+
'@primer/primitives',
22+
'@primer/react',
23+
'lit',
1924
'universal-user-agent',
2025
];
2126

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@
8787
"@electron/notarize": "3.1.1",
8888
"@graphql-codegen/cli": "6.1.1",
8989
"@graphql-codegen/schema-ast": "5.0.0",
90+
"@octokit/core": "7.0.6",
91+
"@octokit/graphql": "9.0.3",
92+
"@octokit/oauth-methods": "6.0.2",
93+
"@octokit/plugin-paginate-rest": "14.0.0",
94+
"@octokit/plugin-rest-endpoint-methods": "17.0.0",
95+
"@octokit/request-error": "^7.1.0",
96+
"@octokit/types": "16.0.0",
9097
"@parcel/watcher": "2.5.4",
9198
"@primer/css": "22.1.0",
9299
"@primer/octicons-react": "19.21.2",
@@ -120,7 +127,6 @@
120127
"jest-environment-jsdom": "30.2.0",
121128
"mini-css-extract-plugin": "2.10.0",
122129
"nock": "13.5.6",
123-
"octokit": "5.0.5",
124130
"postcss": "8.5.6",
125131
"postcss-loader": "8.2.0",
126132
"rimraf": "6.1.2",
@@ -151,4 +157,4 @@
151157
"*": "biome check --no-errors-on-unmatched",
152158
"*.{js,ts,tsx}": "pnpm test:changed --passWithNoTests --updateSnapshot"
153159
}
154-
}
160+
}

0 commit comments

Comments
 (0)