Skip to content

Commit 0aa241b

Browse files
committedMar 10, 2024
ci: fix tests
1 parent 6ec4ab5 commit 0aa241b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎.github/workflows/regression.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ jobs:
4040
- name: Install dependencies
4141
run: pnpm install --frozen-lockfile
4242
- name: Run tests
43-
run: pnpm test
43+
run: |
44+
cd ./fixtures/Latin/
45+
vale --output=line --sort --normalize --relative test.md
46+
47+
# pnpm test

‎test/rules.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ function trimEveryLine(multiline) {
1919
.join("\n");
2020
}
2121

22-
test.each(scenario)(`Testing %s`, async (rule, expected) => {
22+
test.each(scenario)(`Test: %s`, async (rule, expected) => {
2323
let result;
2424
try {
2525
const cwd = path.resolve(process.cwd(), fixturesDirectory, rule);
26+
console.log(cwd);
2627
const output = await execa(command, args, { cwd: cwd });
2728
result = output.stdout;
2829
} catch (error) {

0 commit comments

Comments
 (0)