Commit graph

9 commits

Author SHA1 Message Date
85af7dd4cb
feat: basic beforeEach, afterEach support (#28) 2023-04-15 22:50:21 -04:00
6a9e9ee3fc
feat: toHaveLength matcher (#25)
* feat: toHaveLength matcher

* refactor: standardize errors thrown on failed expectation

* test: toHaveLength coverage

* fix: resolve type discrepancy

* ci: add typecheck step
2023-04-15 16:30:05 -04:00
ec2e46e04d
build: run tests using actual build (#23)
* build: run tests using actual build

* build: build script that includes hashbang prepending

* ci: missing /bin/zsh
2023-04-15 01:28:59 -04:00
2bc6d94507
feat: each support (#13)
* feat: add each support for test, describe

* docs: document test

* feat: label templating basic support

* refactor: group test exports together

* refactor: leverage each in repetitive tests

* chore: pinned node -> alias

* test: coverage for it, test
2023-04-14 09:38:22 -04:00
711d0097ce
refactor: Expect with static matcher registration (#12)
* refactor: Expect with static matcher registration

* refactor: types

* refactor: mark private properties as such

* refactor: consolidate matcher adding and remove redundancy

* chore: lint

* refactor: more consolidation

* refactor: simply matchers exports

* docs: documentation on Expect

* refactor: remove dependencies around inverse matchers

* refactor: move cruft from constructor
2023-04-14 09:38:22 -04:00
aa4695c4e5
refactor: add matchers to expectation dynamically (#11)
* refactor: add matchers to expectation dynamically

* feat: add toThrow

* refactor: centralize types

* docs: matchers

* refactor: MatcherReport

* chore: format before lint

* refactor: simplify negated matchers

* docs: inverse matchers
2023-04-14 09:38:21 -04:00
57f2757adf
feat: runner without dynamic import (#5)
* feat: runner without dynamic import

* refactor: case collection count

* feat: handle failures

* revert: restore test
2023-04-14 09:38:20 -04:00
b34766244f
feat: negation support (#4)
* feat: negation support

* test: coverage for not, update old coverage
2023-04-14 09:38:19 -04:00
329103c470
feat: getting something going (#1)
* feat: basics

* chore: lint

* wip: slightly better expect logic

* test: use self for test cases

* ci: enable test, build steps

* chore: lint

* docs: readme stub

* feat: toBe

* chore: lockfile
2023-04-14 09:38:15 -04:00