Skip to content

Commit 7c85a7e

Browse files
committed
Adds tests, updates package.json to include new tests
1 parent 0e99f4a commit 7c85a7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/generateIssueBody.test.ts renamed to .github/actions/file/tests/generateIssueBody.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect } from "vitest";
2-
import { generateIssueBody } from "../.github/actions/file/src/generateIssueBody.ts";
2+
import { generateIssueBody } from "../src/generateIssueBody.ts";
33

44
const baseFinding = {
55
scannerType: "axe",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0-development",
44
"description": "Finds potential accessibility gaps, files GitHub issues to track them, and attempts to fix them with Copilot",
55
"scripts": {
6-
"test": "vitest run tests/*.test.ts"
6+
"test": "vitest run tests/*.test.ts .github/actions/**/tests/*.test.ts"
77
},
88
"repository": {
99
"type": "git",

0 commit comments

Comments
 (0)