summaryrefslogtreecommitdiff
path: root/std/testing/asserts.ts
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-02fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)Nayeem Rahman
2020-11-19docs(std): add missing jsdoc comments to exported functions (#8442)William Perron
includes: - http/file_server.ts - testing/_diff.ts - testing/asserts.ts Relates to #7487
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-26feat(std/testing): Add assertExists assertion (#7874)Yasser A.Idrissi
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-10-21feat(std/testing): Add support for object assertion against object subset ↵Simon Lecoq
(#8001) This commit add supports for a new assertion function "assertObjectMatch" which allows to test an actual object against an expected object subset (i.e. inclusivity, not equality).
2020-10-01refactor(std/testing): Get rid of default export and make ↵tokiedokie
std/testing/diff.ts private (#7592)
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-16fix(std/testing): assertion diff color (#7499)Pig Fang
2020-08-28fix(std/testing): invalid dates assertion equality (#7230)Christian Petersen
2020-08-27feat(std/testing): add assertNotMatch (#6775)xcatliu
2020-08-20fix(std/node): misnamed assert exports (#7123)Schwarzkopf Balázs
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-14fix(std/testing): assertThrows inheritance (#6623)Rob Waller
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-05fix(std/tesing/asserts): assertEquals/NotEquals should use milliseconds in ↵uki00a
Date (#6644)
2020-07-02improve(std/asserts): allow assert functions to specify type parameter (#6413)WJH
2020-06-24fix(std/testing) assertArrayContains should work with any array-like (#6402)Casper Beyer
2020-06-23fix(std/testing): assertThrows gracefully fails if non-Error thrown (#6330)Rob Waller
2020-06-13Fix assertEqual so that it handles URL objects (#6278)Joel Chippindale
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-06-04feat(std/testing): Allow non-void promises in assertThrowsAsync (#6052)Jon Short
2020-06-02fix(std/testing/asserts): Format values in assertArrayContains() (#6060)Nayeem Rahman
2020-05-25fix(std/testing/asserts): Support browsers (#5847)Nayeem Rahman
2020-05-15fix(std/testing): Provide message and diff for assertStrictEq (#5417)Stéphane Klein
closes #5416
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-15Remove std/testing/format.ts (#4749)Nayeem Rahman
2020-04-10fix(std/testing/asserts): change left/right to actual/expected (#4697)Chris Knight
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-19fix(std/http): Fix respond error test on Windows (#4408)Nayeem Rahman
2020-03-09test: add actual error class to fail message (#4305)Chris Knight
2020-02-23fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083)Yusuke Sakurai
2020-01-02Happy new year! (#3578)Ry Dahl
2019-11-14fix: error handling in std/fs/walk() (#3318)Nayeem Rahman
- Make assertThrows() return the Error - Remove WalkOptions::onError()
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-11-04Consolidates asserts#equal branches for keyed collections (Map/Set) and ↵James Wright
supports deep equality of Map keys (#3258)
2019-10-29Support for deep `Map` equality with `asserts#equal` (#3236)James Wright
2019-10-09Run deno_std tests in github actionsRyan Dahl
2019-10-09Move everything into std subdirRyan Dahl