1.0.0-beta.81 (2022-01-09)
- dummy: accept conditional function to
anyNumber
dummy function (cf4e13f)
1.0.0-beta.80 (2022-01-07)
- dummy: add
anyString
to conditional function (0c5d17b)
1.0.0-beta.79 (2022-01-06)
1.0.0-beta.78 (2021-12-22)
1.0.0-beta.77 (2021-12-21)
- expect: remove debug types (c59d991)
1.0.0-beta.76 (2021-12-21)
- expect: add
reserveActualHint
hooks for merge actual hint after match (f0749e3) - modifier: add
boolean
pre modifier (374dcd1) - modifier: set reserved actual hint (cc1bbe6), closes #60
1.0.0-beta.75 (2021-12-20)
- expect: change context member and fix assertion message (599940f)
- matcher: change
MatchResult
interface (1e6bac4) - modifier: rename
stringify
pre modifier tostring
(1d61e93)
- modifier: add
number
pre modifier (8ce5f1e)
1.0.0-beta.74 (2021-12-20)
- expect: fix display assertion result (78f8de9)
- expect: improve type infer of pre modifier return types (301d542)
1.0.0-beta.73 (2021-12-19)
1.0.0-beta.72 (2021-12-18)
1.0.0-beta.71 (2021-12-17)
- change types to accept
PropertyKey
(a170b17) - expect: fix matcher actual result value (3a6567b)
- mock: change display name (ca07221)
- modifier: add
debug
post modifier (fbcada6)
1.0.0-beta.70 (2021-12-16)
- expect: change type infer when pre modifier used (bd2fd5d)
- modifier: change pre modifier interface (1af4a90)
- modifier: add
trim
pre modifier (e6f2391)
1.0.0-beta.69 (2021-12-16)
- expect: return promise when modifier return promise, not actual value is promise (7dd20c7)
- expect: add
extendExpect
function (ed2ecc7) - expect: add
getDefinition
method, split expect return types (d50f0ff)
1.0.0-beta.68 (2021-12-15)
- expect: improve generic expected types, restrict pre modifier interface (c8ebebe)
1.0.0-beta.67 (2021-12-15)
- matcher: add
toBeError
matcher (8f2016a)
1.0.0-beta.66 (2021-12-14)
- fake timer: add
useFakeTimer
function and implement fake timer object (173b5f3) - mock: add
isMockObject
that check if mock object or not (87c2ea4)
1.0.0-beta.65 (2021-12-14)
1.0.0-beta.64 (2021-12-13)
- mock: add
defaultRejectedValue
mock object method (5222755) - mock: add
onceRejectedValue
mock object method (0cd6fe6) - mock: add
onceResolvedValue
to mock object method (5b639fd)
1.0.0-beta.63 (2021-12-13)
- mock: rename
setImplementation
todefaultImplementation
(d3a70ed)
- mock: add
defaultResolvedValue
mock object method (1f4e13c) - mock: add
defaultReturnValue
to mock object (52f6336) - mock: add
onceImplementation
function to mock object (bada13e) - mock: add
onceReturnValue
mock method (53c1e9f) - mock: add
setImplementation
method to mock object (e93b4f1)
1.0.0-beta.62 (2021-12-13)
- mock: mock object return value, change interface (048ba13)
1.0.0-beta.61 (2021-12-12)
- matcher: add
toMatchObject
matcher (ae2a7f1)
1.0.0-beta.60 (2021-12-12)
- expect: skip stack trace by
captureStackTrace
(48e9dd0)
1.0.0-beta.59 (2021-12-12)
- remove unused deps for reduce bundle size (8269b08)
- test: not export
test.each
function for avoid type error (14eb0b1)
- test: rename
setup
tosetupMap
, accept multiple setup (4eed7ba)
1.0.0-beta.58 (2021-12-11)
- matcher: fix typo for assertion hint (1e53cdf)
- matcher: add
toHaveBeenCalledAfter
matcher (cfbb1e5) - matcher: add
toHaveBeenCalledOnce
matcher (21ecb8e)
1.0.0-beta.57 (2021-12-11)
- mock: use incremental number instead of timestamp (6731f1e)
- matcher: add
toHaveBeenCalledBefore
matcher (80b129e) - mock: mock record each invacation timestamp (c33e15c), closes #48
1.0.0-beta.56 (2021-12-11)
- matcher: improve assertion message for
toBeCloseTo
(53ff2b6), closes #46 - matcher: improve assertion message for
toHaveReturned
(0f38afc), closes #46 - matcher: improve assertion message for
toHaveReturnedTimes
(dde2ce4), closes #46 - matcher: improve assertion message for
toHaveReturnedWith
(0c5b347), closes #46
1.0.0-beta.55 (2021-12-10)
- matcher: improve
toHaveProperty
matcher assertion message (999e4a3)
- matcher: accept value 3rd argument
toHaveProperty
(6893e2d)
1.0.0-beta.54 (2021-12-09)
- expect: fix display value of actual (bbb4e8a)
- expect: improve matcher filter for resolves and rejects modifier (44626bd)
1.0.0-beta.53 (2021-12-09)
1.0.0-beta.52 (2021-12-07)
- test: change interface of jest style test what accept 3rd args of options (ca97069)
1.0.0-beta.51 (2021-12-07)
- mock: define mock object interface and change deps types (a5844f3)
- mock: add
spyOn
function (6f5b675)
1.0.0-beta.50 (2021-12-06)
- dummy: rename fake to dummy object (1c6d65c)
1.0.0-beta.49 (2021-12-06)
- test: fix pass args of sprintf (5f81f78)
1.0.0-beta.48 (2021-12-04)
- fake: add
anyArray
fake object (5cc49ef)
1.0.0-beta.47 (2021-12-03)
1.0.0-beta.46 (2021-12-03)
- helper: add original equal funciton what predicate original mock (41a98ba)
1.0.0-beta.45 (2021-12-02)
1.0.0-beta.44 (2021-12-01)
- expect: add
anyNumber
function (eab1e1f) - expect: add
anyString
function (546ab60) - expect: add
objectContaining
function (d2e6524)
1.0.0-beta.43 (2021-12-01)
1.0.0-beta.42 (2021-11-30)
- expect: add
anything
function (d9b495b) - matcher: use custom equal function (7a282c9)
- report: add line number reporter for assertion (eb9f47b)
1.0.0-beta.41 (2021-11-29)
- test: handle async test (04e9e59)
1.0.0-beta.40 (2021-11-29)
- describe: do not export describe module (f2ce485)
1.0.0-beta.39 (2021-11-29)
- test: accept jest style interface (e185b5f)
1.0.0-beta.38 (2021-11-29)
- test: add
test
function instead ofit
(81b3d55) - test: add
test
function what register test case (05fa94e)
1.0.0-beta.37 (2021-11-28)
- describe: add
describe
runner (e9f6a45) - describe: add hooks for before and after test (392c152)
- matcher: add
toContainEqual
matcher (8adecc6)
1.0.0-beta.36 (2021-11-28)
- add readonly signature to array types (dee5c1f)
- matcher: change
toContain
matcher types waht accept all iterable types (a9e7eaa)
1.0.0-beta.35 (2021-11-27)
- matcher: add
toBeEmpty
matcher (c5e2f18) - matcher: add
toIncludeAnyMembers
matcher (3aaf913) - matcher: add
toIncludeSameMembers
matcher (310c20a)
1.0.0-beta.34 (2021-11-27)
- matcher: change
toContainAnyEntries
types (45f8deb)
- matcher: add
toContainAnyEntries
matcher (8005015) - matcher: add
toContainAnyValues
matcher (a91338f) - matcher: add
toContainEntries
matcher (beb20b2) - matcher: add
toContainEntry
matcher (e43e419) - matcher: add
toContainValues
matcher (e1daab6)
1.0.0-beta.33 (2021-11-27)
- expect: display matcher defined actual value when assert error (59e887a)
- matcher: add
toContainAnyKeys
matcher (719cb82) - matcher: add
toContainValue
matcher (5eb17e6) - matcher: add
toIncludeAllMembers
matcher (730c5e2)
1.0.0-beta.32 (2021-11-26)
- matcher: add
toBeHexColor
matcher (33f1a05) - matcher: add
toEqualCaseInsensitive
matcher (7e43f70) - matcher: add
toEqualIgnoringWhitespace
matcher (5d37bfd) - matcher: add
toIncludeMultiple
matcher (e228215) - matcher: add
toIncludeRepeated
matcher (e6cf728)
1.0.0-beta.31 (2021-11-26)
- matcher: add
toBeDateString
matcher (2704e26) - matcher: add
toEndWith
matcher (0ea209f) - matcher: add
toInclude
matcher (4e543a8)
1.0.0-beta.30 (2021-11-26)
- modifier: change display expected hint and color to blue (75bd82b)
- expect: merge expectedHint and actualHint with match result (380a6e8)
1.0.0-beta.29 (2021-11-25)
- expect: add overwrite expect and actual hint when error (fe0954d)
- matcher: add
toStartWith
matcher (f8014fb)
1.0.0-beta.28 (2021-11-25)
- expect: improve types (e91626a)
- matcher: add
toContainKeys
matcher (4ec8855) - matcher: change matcher return value interface (fce278f)
1.0.0-beta.27 (2021-11-25)
- matcher: add
toHaveProperty
matcher (2340b9a)
1.0.0-beta.26 (2021-11-24)
- it: add
each
function (7239b55) - matcher: add
toSatisfyAll
matcher (017a3b6) - matcher: add
toSatisfyAll
matcher (59e2b1d)
1.0.0-beta.25 (2021-11-24)
- matcher: add
toBeExtensible
matcher (9cbe6e3) - matcher: add
toBeFrozen
matcher (0032aea) - matcher: add
toBeSealed
matcher (3bdbcbe)
1.0.0-beta.24 (2021-11-24)
- expect: fix return types to promise when expect value is promise (3f2216b)
1.0.0-beta.23 (2021-11-23)
- it: fix it accept types (cb0b79e)
- helper: use Deno.inspect safely at
stringify
(edb1f18)
1.0.0-beta.22 (2021-11-23)
1.0.0-beta.21 (2021-11-22)
- compat: add
Deno.test
compat asit
function (21a9caa)
1.0.0-beta.20 (2021-11-22)
- matcher: add
toSatisfy
matcher (f3269b4) - matcher: change matcher return interface (ce5fd57)
- modifier: add
not
modifier (32c4496), closes #6 - modifier: add
resolves
andrejects
modifiers (147bdb9)
1.0.0-beta.19 (2021-11-21)
- do not re-export for not supported bundler (15e970d)
1.0.0-beta.18 (2021-11-21)
1.0.0-beta.17 (2021-11-21)
- matcher: use universal stringify function (0a105fc)
- it: add
it
closure (705094c)
1.0.0-beta.16 (2021-11-21)
1.0.0-beta.15 (2021-11-20)
- matcher:
toBeNegative
accept number only and fix logic (a4e3df0)
- matcher: add
toBeEven
matcher (a6d80d6) - matcher: add
toBeFinite
matcher (7a94ee8) - matcher: add
toBeInteger
matcher (583d2d3) - matcher: add
toBeNegative
matcher (14cdb32) - matcher: add
toBeOdd
matcher (1ff6b23) - matcher: add
toBePositive
matcher (ca3bec6) - matcher: add
toBeWithin
matcher (46da609)
1.0.0-beta.14 (2021-11-20)
- matcher: add
toBeAfterOrEqualTo
matcher (b8c90b5) - matcher: add
toBeBefore
matcher (c7c8002) - matcher: add
toBeBeforeOrEqualTo
matcher (10b36a2) - matcher: add
toBeBetween
matcher (e0c4949) - matcher: add
toBeOneOf
matcher (94ee680)
1.0.0-beta.13 (2021-11-20)
- expect: wrap
expect
on function for tree-shaking (ba51f65)
- matcher: add
toBeAfter
matcher (0f15283) - matcher: add
toBeDate
matcher (f321728) - matcher: add
toBeFunction
matcher (481b7bd) - matcher: add
toBeSymbol
matcher (8530c41) - matcher: add
toBeValidDate
matcher (ac6584f) - matcher: improve assertion error message (40c8e13), closes #3
1.0.0-beta.12 (2021-11-20)
- matcher: add
toBeArray
matcher (9b52eb2) - matcher: add
toBeBoolean
matcher (85234d3) - matcher: add
toBeFalse
matcher (3c1f4ed) - matcher: add
toBeNumber
matcher (8eb85aa) - matcher: add
toBeString
matcher (a401afa) - matcher: add
toBeTrue
matcher (4287ca3)
1.0.0-beta.11 (2021-11-19)
1.0.0-beta.10 (2021-11-19)
- matcher: add
toHaveLastReturnedWith
matcher (56aeb08) - matcher: add
toHaveNthReturnedWith
matcher (13606e7) - matcher: add
toHaveReturned
matcher (9c051ef) - matcher: add
toHaveReturnedTimes
matcher (6281f93) - matcher: add
toHaveReturnedWith
matcher (bade2ae) - mock: save returned value to mock (f86e15e)
1.0.0-beta.9 (2021-11-19)
- matcher: add
toHaveBeenCalledTimes
matcher (89232fb) - matcher: add
toHaveBeenCalledWith
matcher (c10b04d) - matcher: add
toHaveBeenLastCalledWith
matcher (e6c8fcd) - matcher: add
toHaveBeenNthCalledWith
matcher (b1260fc)
1.0.0-beta.8 (2021-11-19)
- matcher: add
toBeCloseTo
matcher (dc66577) - matcher: add
toHaveBeenCalled
matcher (2668260) - mock: add
fn
function what make mock (9b315f1)
1.0.0-beta.7 (2021-11-19)
- expect: add
.rejects
helper (9f9424e)
1.0.0-beta.6 (2021-11-19)
- expect: add
.resolve
helper (5d9027d)
1.0.0-beta.5 (2021-11-19)
- matcher: change
to_contain
matcher logic to includes (b260b4b)
1.0.0-beta.4 (2021-11-18)
- matcher: assign a specific type to actual (142acc6)
1.0.0-beta.3 (2021-11-18)
- matcher: add
toBeGreaterThan
matcher (2fb4d3e) - matcher: add
toBeGreaterThanOrEqual
matcher (8afdcc8) - matcher: add
toBeLessThan
matcher (5ce628b) - matcher: add
toBeLessThanOrEqual
matcher (0636932)
1.0.0-beta.2 (2021-11-18)
- matcher: add
toBeDefined
matcher (52ac1b3) - matcher: add
toBeFalsy
matcher (c946e40) - matcher: add
toBeInstanceOf
matcher (af9c8b6) - matcher: add
toBeNaN
matcher (10da18a) - matcher: add
toBeNull
matcher (7fe9bdf) - matcher: add
toBeTruthy
matcher (06b7d55) - matcher: add
toBeUndefined
matcher (d01e927) - matcher: add
toEqual
matcher (da43373) - matcher: add
toHaveLength
matcher (b56d6d6)
- initial release (adce059)