Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 4 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
project: "./tsconfig.eslint.json",
},
ignorePatterns: ["*.cjs", "*.js"],
plugins: ["@typescript-eslint"],
plugins: ["@typescript-eslint", "jest"],
root: true,
env: {
node: true,
Expand Down Expand Up @@ -101,5 +101,8 @@ module.exports = {
"require-await": "off",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/unified-signatures": "error",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/valid-expect": "error",
},
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"cspell": "^8.8.3",
"diff": "^7.0.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.11.0",
"fast-check": "^3.23.2",
"glob": "^8.1.0",
"husky": "^9.1.5",
Expand Down
4 changes: 2 additions & 2 deletions src/cli/tact/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ contract Test {
}
`;

describe("tact foo.tact", () => {
describe("tact foo.tact --...", () => {
testWin("Check single-contract compilation without flags", async () => {
const path = await codegen.contract(`single`, goodContract);
const result = await tact(path);
Expand Down Expand Up @@ -184,7 +184,7 @@ describe("tact --config config.json", () => {
});
});

describe.only("tact -q foo.tact", () => {
describe("tact -q foo.tact", () => {
testWin("-q shows errors ", async () => {
const path = await codegen.contract(
`quiet`,
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@
semver "^7.6.0"
ts-api-utils "^2.0.1"

"@typescript-eslint/utils@8.26.0":
"@typescript-eslint/utils@8.26.0", "@typescript-eslint/utils@^6.0.0 || ^7.0.0 || ^8.0.0":
version "8.26.0"
resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.26.0.tgz#845d20ed8378a5594e6445f54e53b972aee7b3e6"
integrity sha512-2L2tU3FVwhvU14LndnQCA2frYC8JnPDVKyQtWFPf8IYFMt/ykEN1bPolNhNbCVgOmdzTlWdusCTKA/9nKrf8Ig==
Expand Down Expand Up @@ -2491,6 +2491,13 @@ escape-string-regexp@^2.0.0:
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==

eslint-plugin-jest@^28.11.0:
version "28.11.0"
resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.11.0.tgz#2641ecb4411941bbddb3d7cf8a8ff1163fbb510e"
integrity sha512-QAfipLcNCWLVocVbZW8GimKn5p5iiMcgGbRzz8z/P5q7xw+cNEpYqyzFMtIF/ZgF2HLOyy+dYBut+DoYolvqig==
dependencies:
"@typescript-eslint/utils" "^6.0.0 || ^7.0.0 || ^8.0.0"

eslint-scope@^7.2.2:
version "7.2.2"
resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz"
Expand Down
Loading