Skip to content

Releases: cometkim/rescript-vitest

v1.4.0

21 Apr 07:01
d8e631c
Compare
Choose a tag to compare

What's Changed

Non-feature

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

25 Nov 22:27
b4707e2
Compare
Choose a tag to compare

v1.2.0

09 May 15:51
0c31378
Compare
Choose a tag to compare
  • Support ReScript v11 (next)
  • Upgrade vitest version to v0.31.0

v1.1.0

23 Jan 10:29
151c50e
Compare
Choose a tag to compare
  • Support for test.each and describe.each (by @jmagaram)
  • Support for benchmarking
  • Deprecated testPromise and itPromise in favor of *Async alias. Those will be removed in next major.

v1.0.1

12 Dec 20:32
328eb1a
Compare
Choose a tag to compare
  • Fixed Expect.Promise.toThrow and Expect.Promise.toThrowError type

v1.0.0

12 Dec 20:11
3c9eddf
Compare
Choose a tag to compare
  • BREAKING: ReScript v10.1 is required.
  • Switch @ryyppy/rescript-promise to Js.Promise2 for async/await compatibility.
  • Fixed Expect.not binding correctly
  • Added Expect.toBeSome and Expect.toBeNone
  • Added Expect.Promise matchers. (See promise.test.res for detail)
  • Added aliases testAsync and itAsync, which are identical to testPromise and itPromise

v0.4.0

12 Dec 18:45
92f9591
Compare
Choose a tag to compare
  • Vite 4 as valid peerDependencies
  • Upgrade Vitest version

v0.3.1

13 Nov 11:32
16f5e79
Compare
Choose a tag to compare
  • Added ReScript@v10 to valid peerDeps
  • Upgrade dependencies

v0.3.0

14 Aug 18:11
363d084
Compare
Choose a tag to compare

Changes

  • Upgrade Vitest version to v0.21
  • Add Vite@3 as peerDependencies
  • Fix hasAssersions binding (#4)

I noticed that the test context was not properly bound except for the default Vitest.describe fn. Snapshots are not working in the Vitest.Concurrent.describe fn correctly.

A major signature change is planned to correct context-related behavior.

v0.2.0

09 Feb 18:57
6d991e1
Compare
Choose a tag to compare
  • upgrade vitest to v0.3.0
  • rescript is now a peer dependency