Skip to content

Commit

Permalink
Merge pull request #1057 from github/koesie10/upgrade-octokit
Browse files Browse the repository at this point in the history
Upgrade Octokit packages
  • Loading branch information
koesie10 authored Sep 2, 2024
2 parents cea7964 + 204b553 commit a40b5d2
Show file tree
Hide file tree
Showing 7 changed files with 15,646 additions and 16,090 deletions.
9,980 changes: 4,643 additions & 5,337 deletions dist/query.js

Large diffs are not rendered by default.

9,724 changes: 4,516 additions & 5,208 deletions dist/update-repo-task-status.js

Large diffs are not rendered by default.

9,724 changes: 4,516 additions & 5,208 deletions dist/update-repo-task-statuses.js

Large diffs are not rendered by default.

24 changes: 19 additions & 5 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,27 @@ const config: Config = {
// testRunner: "jest-circus/runner",

// A map from regular expressions to paths to transformers
// transform: undefined,
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
tsconfig: "<rootDir>/tsconfig.json",
},
],
node_modules: [
"babel-jest",
{
presets: ["@babel/preset-env"],
plugins: ["@babel/plugin-transform-modules-commonjs"],
},
],
},

// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
// transformIgnorePatterns: [
// "/node_modules/",
// "\\.pnp\\.[^\\/]+$"
// ],
transformIgnorePatterns: [
// These use ES modules, so need to be transformed
"node_modules/(?!(?:@octokit/.+|before-after-hook|universal-user-agent)/.*)",
],

// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
// unmockedModulePathPatterns: undefined,
Expand Down
Loading

0 comments on commit a40b5d2

Please sign in to comment.