mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 19:05:23 -08:00
Compare commits
2 Commits
copilot/in
...
chore/shad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c33c4c823 | ||
|
|
eea8b67eb1 |
@@ -1,15 +0,0 @@
|
||||
---
|
||||
applyTo: '**'
|
||||
---
|
||||
|
||||
Instructions:
|
||||
|
||||
- Ensure Node.js 20 is installed and used for all development and CI tasks.
|
||||
- Do not update the Node.js runtime to versions newer than 20.
|
||||
- Install all dependencies using `npm install`.
|
||||
- Use TypeScript for all source code; ensure `tsconfig.json` is present and configured.
|
||||
- Use `npm test` to run tests; ensure all tests pass before committing changes.
|
||||
- Validate changes by running `npm run all` before submitting pull requests or merging.
|
||||
- This project is a GitHub Actions action; ensure compatibility with GitHub Actions workflows.
|
||||
- After validating changes, create a new commit with the `dist/` directory included.
|
||||
- Document any changes to the action's inputs, outputs, or behavior in the README.
|
||||
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
@@ -837,12 +837,12 @@ class DotnetNunitParser {
|
||||
.map(suite => suite.$.name)
|
||||
.join('.');
|
||||
const groupName = suitesWithoutTheories[suitesWithoutTheories.length - 1].$.name;
|
||||
let existingSuite = result.find(existingSuite => existingSuite.name === suiteName);
|
||||
let existingSuite = result.find(suite => suite.name === suiteName);
|
||||
if (existingSuite === undefined) {
|
||||
existingSuite = new test_results_1.TestSuiteResult(suiteName, []);
|
||||
result.push(existingSuite);
|
||||
}
|
||||
let existingGroup = existingSuite.groups.find(existingGroup => existingGroup.name === groupName);
|
||||
let existingGroup = existingSuite.groups.find(group => group.name === groupName);
|
||||
if (existingGroup === undefined) {
|
||||
existingGroup = new test_results_1.TestGroupResult(groupName, []);
|
||||
existingSuite.groups.push(existingGroup);
|
||||
|
||||
@@ -77,13 +77,13 @@ export class DotnetNunitParser implements TestParser {
|
||||
.join('.')
|
||||
const groupName = suitesWithoutTheories[suitesWithoutTheories.length - 1].$.name
|
||||
|
||||
let existingSuite = result.find(existingSuite => existingSuite.name === suiteName)
|
||||
let existingSuite = result.find(suite => suite.name === suiteName)
|
||||
if (existingSuite === undefined) {
|
||||
existingSuite = new TestSuiteResult(suiteName, [])
|
||||
result.push(existingSuite)
|
||||
}
|
||||
|
||||
let existingGroup = existingSuite.groups.find(existingGroup => existingGroup.name === groupName)
|
||||
let existingGroup = existingSuite.groups.find(group => group.name === groupName)
|
||||
if (existingGroup === undefined) {
|
||||
existingGroup = new TestGroupResult(groupName, [])
|
||||
existingSuite.groups.push(existingGroup)
|
||||
|
||||
Reference in New Issue
Block a user