diff --git a/__tests__/input.test.ts b/__tests__/input.test.ts deleted file mode 100644 index 0a365cd..0000000 --- a/__tests__/input.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -describe('actions-rs/audit', () => { - beforeEach(() => { - }) - - it('Should do something', async () => { - }); -}); diff --git a/jest.config.json b/jest.config.js similarity index 86% rename from jest.config.json rename to jest.config.js index 563d4cc..ab4f933 100644 --- a/jest.config.json +++ b/jest.config.js @@ -5,7 +5,7 @@ module.exports = { testMatch: ['**/*.test.ts'], testRunner: 'jest-circus/runner', transform: { - '^.+\\.ts$': 'ts-jest' + "\\.(ts|js)x?$": "ts-jest" }, verbose: true -} \ No newline at end of file +} diff --git a/package.json b/package.json index de941be..7aef0f8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "ncc build src/main.ts --minify", "watch": "ncc build src/main.ts --watch --minify", - "test": "jest", + "test": "jest --passWithNoTests", "format": "prettier --write 'src/**/*.{js,ts,tsx}'", "refresh": "rm -rf ./lib/* && npm run-script build", "lint": "tsc --noEmit && eslint 'src/**/*.{js,ts,tsx}'"