Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ const project = resolve(process.cwd(), "tsconfig.json");
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: ["eslint:recommended", "prettier"],
plugins: ["jest"],
parser: "@typescript-eslint/parser",
globals: {
React: true,
JSX: true,
},
env: {
node: true,
"jest/globals": true,
},
settings: {
"import/resolver": {
Expand All @@ -37,6 +35,6 @@ module.exports = {
},
],
rules: {
'no-unused-vars': 'off',
}
"no-unused-vars": "off",
},
};
32 changes: 0 additions & 32 deletions jest.integration.config.cjs

This file was deleted.

11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
"format:fix": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "eslint . --max-warnings 0",
"test:integration": "jest --config jest.integration.config.cjs"
"test:integration": "vitest -c vitest.integration.config.ts"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we even have any other tests? it feels like this is just the default test suite here and we perhaps don't need to nest/namespace it under integration name

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to test initially but since this is quite involved to run locally, I kept the "integration" part so you don't run pnpm test and expect it too easily pass.

},
"devDependencies": {
"@actions/github": "^6.0.0",
Expand All @@ -64,28 +64,25 @@
"@octokit/graphql": "^8.1.1",
"@octokit/graphql-schema": "^14.56.0",
"@types/eslint": "^8.56.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-only-warn": "^1.1.0",
"jest": "^29.7.0",
"pino": "^9.3.2",
"pino-pretty": "^11.2.2",
"prettier": "^3.3.3",
"ts-jest": "^29.2.0",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"vitest": "^4.1.5"
},
"files": [
"dist"
],
"packageManager": "pnpm@11.1.1+sha512.d1fdf5f73c617b64fa1a56a81c3c8dfe0e966e33a6010aa256b517ae77be21d93e05affc0de1a83b0e4f29d569f68b446ae8f068cd7247c0bb3df0fb4d7bdf9a",
"packageManager": "pnpm@11.1.2+sha512.415a1cc25974731e75455c1468371be74c5aa5fb7621b50d4056d222451609f11412f23fd602e6169f1e060466641f798597e1be961a10688836a67b16569499",
"publishConfig": {
"access": "public"
},
Expand Down
Loading