Skip to content

Commit

Permalink
Merge pull request #22 from reportportal/develop
Browse files Browse the repository at this point in the history
Release 5.1.1
  • Loading branch information
AmsterGet authored Sep 23, 2024
2 parents 7a08d2f + d31439d commit 8fd49b8
Show file tree
Hide file tree
Showing 24 changed files with 1,983 additions and 1,446 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @AmsterGet @AliakseiLiasnitski
* @AmsterGet
8 changes: 7 additions & 1 deletion .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ on:
- README.md
- CHANGELOG.md
pull_request:
branches:
- develop
- master
paths-ignore:
- README.md
- CHANGELOG.md

jobs:
test:
Expand All @@ -33,7 +39,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install of node dependencies
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install of node dependencies
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
Expand All @@ -47,7 +47,7 @@ jobs:
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install of node dependencies
- name: Install dependencies
run: npm install
- name: Build the source code
run: npm run build
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
### Added
- Test case id, attributes and description providing via [Reporting API](./README.md#reporting-api-methods).
### Changed
- The agent now supports reporting the time for launches, test items and logs with microsecond precision in the ISO string format.
For logs, microsecond precision is available on the UI from ReportPortal version 24.2.
- `@reportportal/client-javascript` bumped to version `5.3.0`, new `launchUuidPrintOutput` types introduced: 'FILE', 'ENVIRONMENT'.
### Security
- Updated versions of vulnerable packages (braces).

## [5.1.0] - 2024-05-03
### Added
- ReportingApi with attachment support
- `ReportingApi` with `attachment` method support.
- `extendTestDescriptionWithLastError` option to the RP config to be able to toggle the last error log attaching to the test description.
### Changed
- `@reportportal/client-javascript` bumped to version `5.1.3`.
Expand Down
97 changes: 74 additions & 23 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0
5.1.1-SNAPSHOT
15 changes: 7 additions & 8 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@

module.exports = {
roots: ['<rootDir>/src'],
transform: { '.(ts|tsx)': 'ts-jest' },
transform: {
'.ts': ['ts-jest', {
diagnostics: {
pathRegex: '(/__tests__/.*?\\.(test|spec))\\.(ts|js)$',
},
}],
},
testEnvironment: 'node',
testRegex: '/__tests__/.*\\.(test|spec)?\\.(ts|js)$',
moduleFileExtensions: ['ts', 'js'],
Expand All @@ -31,11 +37,4 @@ module.exports = {
statements: 80,
},
},
globals: {
'ts-jest': {
diagnostics: {
pathRegex: '(/__tests__/.*?\\.(test|spec))\\.(ts|js)$',
},
},
},
};
Loading

0 comments on commit 8fd49b8

Please sign in to comment.