Skip to content

Commit

Permalink
Update changelog and package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Derpius committed Dec 23, 2023
1 parent 1651a67 commit 3d42b71
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

14 changes: 14 additions & 0 deletions packages/lest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ The valid change types are:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [3.1.0] - [#113](https://github.com/TAServers/lest/pull/113)

### Added

- Added pretty diff rendering to `toEqual` matcher to show differences between deeply nested values

### Changed

- `toBe` matcher now generates its message more in line with Jest to make comparing values easier
- All values displayed in test failure messages are now properly serialised to mostly valid Lua, including the contents of tables
- Test failure messages no longer include the expected and received values in the `expect(...).matcherName(...)` signature
- This matches the behaviour of Jest and avoids duplicating information between the signature and failure message
- Test failure messages are no longer highlighted in red to give more control to matchers over how individual messages are formatted

## [3.0.0] - [#102](https://github.com/TAServers/lest/issues/102)

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/lest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taservers/lest",
"version": "3.0.0",
"version": "3.1.0",
"license": "MIT",
"description": "Painless Lua testing.",
"homepage": "https://taservers.github.io/lest/",
Expand Down

0 comments on commit 3d42b71

Please sign in to comment.