1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
Commit graph

27 commits

Author SHA1 Message Date
David Sherret
cde4dbb351
Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
Rob Waller
9eca71caa1
fix(std/testing): assertThrows inheritance (#6623) 2020-07-14 14:41:05 -04:00
Nayeem Rahman
5ec41cbcc2
feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to InspectOptions (#6591) 2020-07-11 00:52:18 -04:00
uki00a
63b81f97cf
fix(std/tesing/asserts): assertEquals/NotEquals should use milliseconds in Date (#6644) 2020-07-05 22:21:03 -04:00
WJH
538504f57c
improve(std/asserts): allow assert functions to specify type parameter (#6413) 2020-07-02 18:03:15 +02:00
Yasser A.Idrissi
d1b44e7521
refactor(std/testing): Remove unuseful statement (#6486) 2020-06-25 22:17:58 -04:00
Casper Beyer
f318ab01a4
fix(std/testing) assertArrayContains should work with any array-like (#6402) 2020-06-24 08:29:50 -04:00
Rob Waller
d615f0ff82
fix(std/testing): assertThrows gracefully fails if non-Error thrown (#6330) 2020-06-23 10:47:09 -04:00
Joel Chippindale
f6fa659384
Fix assertEqual so that it handles URL objects (#6278) 2020-06-13 10:01:05 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
Casper Beyer
ed5aedc6b4
Rename abbreviated assertions in std/testing (#6118) 2020-06-05 23:43:00 -04:00
Jon Short
4b1638dccc
feat(std/testing): Allow non-void promises in assertThrowsAsync (#6052) 2020-06-04 10:43:05 -04:00
Nayeem Rahman
aaa2ed5a64
fix(std/testing/asserts): Format values in assertArrayContains() (#6060) 2020-06-02 23:38:46 -04:00
Nayeem Rahman
4ebd243423
fix(std/testing/asserts): Support browsers (#5847) 2020-05-25 13:32:34 -04:00
Speykious
9752b853dd
Provide better ANSI colorized output when inspecting objects (#5404) 2020-05-19 14:19:26 -04:00
Stéphane Klein
62a7fcbdc4
fix(std/testing): Provide message and diff for assertStrictEq (#5417)
closes #5416
2020-05-15 09:49:11 -04:00
Bartek Iwańczuk
8feb30e325
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
2020-04-28 12:33:09 +02:00
Nayeem Rahman
926db017d9
Remove std/testing/format.ts (#4749) 2020-04-15 10:12:42 -04:00
Chris Knight
85c61bff1c
fix(std/testing/asserts): change left/right to actual/expected (#4697) 2020-04-10 10:10:45 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
Chris Knight
2115b38fef
test: add actual error class to fail message (#4305) 2020-03-09 17:46:55 -04:00
Bartek Iwańczuk
61273085e4
refactor: rewrite tests in std/ to use Deno.test (#3930) 2020-02-11 17:24:27 +01:00
Ry Dahl
bfab4ed0df
Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
Kitson Kelly
9837d324a7 Update to TypeScript 3.7 (#3275)
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes #3273
2019-11-13 13:42:34 -05:00
James Wright
429439d198 Consolidates asserts#equal branches for keyed collections (Map/Set) and supports deep equality of Map keys (#3258) 2019-11-04 10:21:42 -05:00
James Wright
64957d92ef Support for deep Map equality with asserts#equal (#3236) 2019-10-29 20:23:54 -04:00
Ryan Dahl
151ce0266e
Move everything into std subdir 2019-10-09 17:10:09 -04:00
Renamed from testing/asserts_test.ts (Browse further)