diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c33c85e..136113b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - node-version: [14.x, 16.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v2 @@ -31,4 +31,4 @@ jobs: - run: npm install - run: npm run test env: - CI: true \ No newline at end of file + CI: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cc765cb..c39394c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: # Setup .npmrc file to publish to npm - uses: actions/setup-node@v2 with: - node-version: '14.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm test diff --git a/.vscode/settings.json b/.vscode/settings.json index 0a10ca5..6173ae7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,8 @@ "files.exclude": { "**/coverage": true, "**/node_modules": true - } + }, + "cSpell.words": [ + "testbeats" + ] } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 69c29c5..e223dbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "test-results-parser", - "version": "0.1.14", + "version": "0.1.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "test-results-parser", - "version": "0.1.14", + "version": "0.1.15", "license": "MIT", "dependencies": { "fast-xml-parser": "^4.3.2", diff --git a/package.json b/package.json index 207d870..5680e24 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,9 @@ { +<<<<<<< HEAD "name": "seesaw-test-results-parser", +======= + "name": "test-results-parser", +>>>>>>> main "version": "0.1.15", "description": "Parse test results from JUnit, TestNG, xUnit, cucumber and many more", "main": "src/index.js", @@ -23,7 +27,8 @@ "automation", "mocha", "cucumber", - "nUnit" + "nUnit", + "testbeats" ], "author": "Anudeep ", "license": "MIT", diff --git a/src/parsers/index.js b/src/parsers/index.js index da77cfa..802b7ce 100644 --- a/src/parsers/index.js +++ b/src/parsers/index.js @@ -48,7 +48,7 @@ function getParser(type) { case 'cucumber': return cucumber; default: - throw `UnSupported Result Type - ${options.type}`; + throw `UnSupported Result Type - ${type}`; } }