From 7f48ceb33a5182618c73d6260edbcc376e51db07 Mon Sep 17 00:00:00 2001 From: Senji888 <44082144+Ben-Rey@users.noreply.github.com> Date: Sun, 19 Nov 2023 10:36:26 +0100 Subject: [PATCH] Remove test script from package.json --- .github/workflows/powered-by.yml | 4 ---- jest.config.ts | 8 ++++++-- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/powered-by.yml b/.github/workflows/powered-by.yml index a395d7f2..cede77f5 100644 --- a/.github/workflows/powered-by.yml +++ b/.github/workflows/powered-by.yml @@ -35,10 +35,6 @@ jobs: run: | cd packages/sc-project-initializer && npm i && ./../../generate_powered-by.sh && cd ../../ - - name: Generate Powered-By for 'massa-proto-cli' - run: | - cd packages/massa-proto-cli && npm i && ./../../generate_powered-by.sh && cd ../../ - - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v4 with: diff --git a/jest.config.ts b/jest.config.ts index 3489d09f..2c7bfca8 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,7 +1,11 @@ module.exports = { - roots: ['/test/'], testMatch: ['**/*.spec.ts'], transform: { - '^.+.(ts|tsx)$': 'ts-jest', + '^.+\\.(ts|tsx)$': 'ts-jest', }, + testPathIgnorePatterns: [ + '/node_modules/', + '/packages/.*/dist/', + '/assembly/', + ], }; diff --git a/package.json b/package.json index 9786a6ca..de08ad65 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint:fix": "npm run lint -- --fix", "fmt:check": "npm run prettier && npm run lint", "fmt": "npm run prettier:fix && npm run lint:fix", - "test": "jest" + "test": "jest --passWithNoTests" }, "repository": { "type": "git",