Skip to content

Commit

Permalink
fix: import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ASaiAnudeep committed Mar 1, 2024
1 parent cc405b4 commit 9400bef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 1 addition & 3 deletions src/parsers/junit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9400bef

Please sign in to comment.