diff --git a/package-lock.json b/package-lock.json index e05bc21..5ab5fbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "test-results-parser", - "version": "0.1.9", + "version": "0.1.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "test-results-parser", - "version": "0.1.9", + "version": "0.1.10", "license": "MIT", "dependencies": { "fast-xml-parser": "^4.3.2", diff --git a/package.json b/package.json index 842b225..8ee509a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "test-results-parser", - "version": "0.1.9", + "version": "0.1.10", "description": "Parse test results from JUnit, TestNG, xUnit, cucumber and many more", "main": "src/index.js", "types": "./src/index.d.ts", diff --git a/src/parsers/junit.js b/src/parsers/junit.js index 7cf795f..0325272 100644 --- a/src/parsers/junit.js +++ b/src/parsers/junit.js @@ -4,7 +4,6 @@ const TestResult = require('../models/TestResult'); const TestSuite = require('../models/TestSuite'); const TestCase = require('../models/TestCase'); const TestAttachment = require('../models/TestAttachment'); -const JUnitTypes = import('./junit.result'); function getTestCase(rawCase, suite_meta) { const test_case = new TestCase(); @@ -50,8 +49,7 @@ function getTestSuite(rawSuite) { } /** - * - * @param {JUnitTypes.TestSuite | JUnitTypes.JUnitTestCase} rawElement + * @param {import('./junit.result').JUnitTestSuite | import('./junit.result').JUnitTestCase} rawElement * @param {TestCase | TestSuite} test_element */ function setMetaData(rawElement, test_element) {