summaryrefslogtreecommitdiff
path: root/std/testing/asserts_test.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
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-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
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-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
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-25refactor(std/testing): Remove unuseful statement (#6486)Yasser A.Idrissi
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-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
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-19Provide better ANSI colorized output when inspecting objects (#5404)Speykious
2020-05-15fix(std/testing): Provide message and diff for assertStrictEq (#5417)Stéphane Klein
closes #5416
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
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-09test: add actual error class to fail message (#4305)Chris Knight
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-01-02Happy new year! (#3578)Ry Dahl
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-09Move everything into std subdirRyan Dahl