Marvin Hagemeister
c224ce4753
feat(testing): add .skip alias to bdd test API ( #3300 )
2023-04-13 12:30:04 +09:00
Yuki Tanaka
18b171468b
chore(testing): update __snapshots__/snapshot_test.ts.snap
( #3271 )
2023-03-21 21:35:48 +09:00
Miroslav Bajtoš
0d4bd3cb2e
feat(testing/asserts): include msg
in assertion errors ( #3253 )
2023-03-20 15:23:09 +09:00
Geert-Jan Zwiers
69556068c7
chore: remove powershell note in snapshot docs ( #3205 )
2023-02-17 09:54:40 -05:00
ayame113
ba0b6317de
test: update test cases according to swc updates ( #3188 )
2023-02-12 12:12:12 +09:00
denobot
1756b160fa
0.174.0 ( #3135 )
...
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-25 23:25:19 +01:00
ayame113
b4239898d6
chore: update copyright header ( #3082 )
2023-01-03 19:47:44 +09:00
Kamil Ogórek
4db14f6ccf
fix(testing): do not mutate tokens when creating details ( #3049 )
2022-12-25 20:44:51 +09:00
Asher Gomez
c78061eef3
refactor: replace String.prototype.substr()
with String.prototype.slice()
( #2993 )
2022-12-12 15:21:59 +09:00
Asher Gomez
6c2e01e6b8
refactor: replace use of Deno.spawnChild
and Deno.run
with Deno.Command
( #2912 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-11-30 14:12:34 +09:00
Lino Le Van
34d5f7a032
feat(testing): add conditional type check utils ( #2864 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-11-28 21:05:51 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs ( #2658 )
2022-11-25 12:40:23 +01:00
Asher Gomez
b72d3eb42a
refactor: replace Deno.spawn
with Deno.Command
( #2886 )
2022-11-15 15:00:59 +09:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements ( #2762 )
2022-10-10 10:05:56 -04:00
Asher Gomez
bddda3c473
chore: remove deprecated APIs across collections
, streams
, textproto
and uuid
( #2720 )
2022-09-30 16:27:11 +09:00
Asher Gomez
40d0466e46
chore(testing/bench): remove deprecated APIs ( #2714 )
2022-09-29 11:27:10 -04:00
Asher Gomez
b9f9caa7be
chore(collections): remove deprecated APIs ( #2711 )
2022-09-29 11:24:28 -04:00
Chris Chua
b7b7d76db1
fix: testing example pages failing to load ( #2693 )
...
These pages were erroring out on loading due to the use of "ignored" language.
2022-09-25 09:26:31 +02:00
Tim Reichen
2f7713a164
chore(tools): add deprecation check ( #2613 )
2022-09-15 16:06:04 +09:00
Yoshiya Hinosawa
eab5437413
fix(testing/asserts): temporarily disable background colors in diff ( #2601 )
2022-09-02 20:29:59 +09:00
Michael Gibson
e4f76568a6
fix(fs): use Deno.errors.AlreadyExists where appropriate ( #2547 )
2022-08-31 16:04:53 +09:00
Asher Gomez
fa6c014902
feat(testing): better assertFalse types ( #2562 )
2022-08-25 14:57:40 +09:00
Asher Gomez
f6bc3682df
feat(testing): better assertNotInstanceOf types ( #2558 )
...
Thanks @harrysolovay for the idea
2022-08-25 14:53:20 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void
and Promise<void>
return types ( #2550 )
2022-08-24 10:21:57 +09:00
Yoshiya Hinosawa
d7fa0016c3
ci: fix browser type checking ( #2549 )
2022-08-23 19:06:52 +09:00
Asher Gomez
30f771dd17
feat(testing/asserts): add assertNotInstanceOf ( #2530 )
2022-08-18 16:29:57 +09:00
cuobiezi
2e7f2f521c
fix(testing): better assertEqual diff for object getters ( #2509 )
2022-08-12 15:06:52 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation ( #2511 )
2022-08-11 21:51:20 +10:00
Jesper van den Ende
996d7afd4d
feat(testing): allow for stubbing non existent instance methods ( #2487 )
2022-08-11 12:03:33 +09:00
denobot
8379497298
0.151.0 ( #2497 )
2022-08-04 21:48:15 +02:00
Benjamin Fischer
66671c4495
fix(testing): add support for PromiseLike
in assertRejects
( #2443 )
...
Fixes #2442
2022-07-17 09:01:14 +10:00
David Sherret
5cf22ead6b
chore: workaround swc emit issues ( #2439 )
2022-07-13 09:15:32 -04:00
Yoshiya Hinosawa
6728c574c1
docs(testing): add note about powershell usage ( #2414 )
2022-07-04 15:37:35 +09:00
Ben Heidemann
583554de46
feat: add createAssertSnapshot ( #2403 )
2022-07-02 18:24:42 +09:00
Colin Ihrig
f09d03143b
fix(testing): break out of Set equality check on match ( #2394 )
...
This commit updates the equality checking logic of Sets to
break out of an inner loop when a match occurs. Prior to this
commit, it was possible to perform too many comparisons, which
incorrectly made a counter in the code go below zero.
Fixes: https://github.com/denoland/deno_std/issues/2295
2022-06-27 17:15:59 -04:00
Kyle June
500ec9de4b
fix(testing/bdd): fix flat test grouping context ( #2308 )
2022-06-20 09:12:15 +09:00
denobot
55addb3ad1
0.144.0 ( #2351 )
...
* 0.144.0
* fix(Releases.md): update note about collections/mod.ts
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
* chore: fix formatting
* fix(tests): use `Deno.currentExe()` instead of `"deno"`
Co-authored-by: aslilac <aslilac@users.noreply.github.com>
Co-authored-by: Kayla Washburn <mckayla@hey.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-15 16:05:49 -06:00
David Sherret
6303f047cc
chore(canary): update snapshot tests based on latest canary ( #2347 )
2022-06-14 20:53:42 -04:00
cuobiezi
4c1e1bff7c
fix: assertSnapshot errors on empty snapshot in non-update mode ( #2269 )
2022-05-30 15:21:05 +02:00
Yoshiya Hinosawa
f44696c5ef
docs(testing): improve docs of assertThrows and assertRejects ( #2282 )
2022-05-29 21:05:52 +09:00
Yoshiya Hinosawa
034c6e2833
test: fix unhandled promises in test cases ( #2281 )
2022-05-29 21:02:37 +09:00
Mark Ladyshau
1bba810b48
refactor: replace TS private
with private identifiers ( #2272 )
2022-05-27 21:27:13 +09:00
Leo Kettmeir
852968f631
refactor: switch the Deno.spawn ( #2161 )
2022-05-25 11:08:27 +02:00
Mark Ladyshau
662f27ce84
feat(testing/asserts): return error from assertRejects
and assertThrows
( #2226 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-05-25 17:51:42 +09:00
Jesper van den Ende
11b2b7f7f7
BREAKING(testing/asserts): remove implicit any types from assert signatures. ( #2203 )
2022-05-20 14:08:49 +02:00
Colin Ihrig
f6ce58db39
BREAKING(testing): use Object.is() for strict equality ( #2244 )
...
This commit updates assertStrictEquals(), assertAlmostEquals(),
and assertNotStrictEquals() to use Object.is() instead of the
=== operator. The reason is that Object.is() better matches
user expectations of an assertion library in a couple edge
cases. It also better aligns with the behavior of at least one
other runtime's assertion library (Node.js).
Fixes: https://github.com/denoland/deno_std/issues/2151
2022-05-19 14:43:42 -04:00
Thomas Cruveilher
981dd90946
fix(assertRejects): fails on synchronous throw #1302 ( #2234 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-05-18 13:48:18 +09:00
David Sherret
dfbb3f9e21
fix(testing/bdd): support using bdd tests with dnt ( #2235 )
...
fix: support using bdd tests with dnt
2022-05-15 16:33:53 -04:00
Yoshiya Hinosawa
436c3a7b25
test(testing/snapshot): update snapshot expections ( #2210 )
2022-05-10 19:39:50 +09:00
Ben Heidemann
bab7056ff0
feat(testing/snapshot): add "assertSnapshot" options overload ( #2179 )
2022-05-06 22:05:27 +09:00
Eliaz Bobadilla
4a44ee3869
docs(testing): document assertFalse in README ( #2175 )
2022-05-03 22:11:12 +09:00
Ben Heidemann
d9fd8a171a
BREAKING(testing/snapshot): change multiline string serialization ( #2166 )
2022-05-03 21:21:11 +09:00
Mathis Bullinger
3dd6843571
fix(testing): Compare circular objects ( #2172 )
...
The "equal" function keeps track of encountered objects by adding
them to "seen". Encountered objects must be added to "seen" before
the first recursive call to "compare" because otherwise the "compare"
function will infinitely recurse when comparing circular objects.
2022-05-01 14:50:44 +02:00
Eliaz Bobadilla
8ee4023df8
feat(testing): assertFalse ( #2093 )
2022-04-30 20:20:00 +09:00
Ben Heidemann
3103d39fe3
test(testing/snapshot): add regression test for Deno.inspect compacting empty iterables ( #2152 )
2022-04-27 09:55:37 +09:00
Jesper van den Ende
c258af35ad
feat(testing): infer stub and spy return types from properties ( #2137 )
2022-04-26 22:34:42 +09:00
Ben Heidemann
0ea7b3f2b3
test(testing/snapshot): fix unexpected truncation of long strings in snapshots ( #2150 )
2022-04-26 12:54:45 +09:00
David Sherret
f4474d6817
chore: deno fmt with 1.21.0 ( #2132 )
2022-04-21 00:27:28 -04:00
Yongwook Choi
7b44ec31cd
feat(testing): Implement "assertSnapshot" ( #2039 )
...
This commits adds "assertSnapshot" API as part of "testing" module.
This API is modelled after Jest's API and can be used to compare
test results with previously saved result in a file.
Co-authored-by: Ben Heidemann <ben@heidemann.co.uk>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-04-20 13:46:21 +02:00
Kyle June
85950b9219
feat(testing): add TestContext argument to "it" function ( #2117 )
2022-04-17 01:23:49 +02:00
Kyle June
403f226a20
feat(testing): add utility for faking time ( #2069 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-04-14 15:29:17 +09:00
Yoshiya Hinosawa
e224f047ae
BREAKING(testing/bench): deprecate testing/bench module ( #2104 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-04-13 21:58:50 +09:00
Kyle June
5f764b9499
feat(testing): add behavior-driven development ( #2067 )
2022-04-08 14:01:46 +09:00
Jesper van den Ende
c347251139
docs(testing): Fix typo ( #2082 )
2022-04-05 15:36:41 +02:00
Kyle June
7213d527ec
feat(testing): add mocking utilities ( #2048 )
2022-03-29 21:51:36 +09:00
Jesper van den Ende
8e01ec6cb7
feat(testing): add assertInstanceOf
( #2028 )
2022-03-16 14:38:30 +09:00
Jesse Jackson
4e8f0e7bb8
feat(testing/asserts): use assertion signature for "assertStrictEquals" ( #1984 )
2022-03-04 14:31:19 +09:00
Yasser A.Idrissi
54ddd4a6a3
fix(testing): Misleading assertion error in assertNotEquals ( #1989 )
2022-03-03 17:40:02 +01:00
Simon Lecoq
91026e5af6
fix(testing): fix assertObjectMatch for RegExp/Map/Set ( #1967 )
2022-03-03 14:31:25 +09:00
Elisée Maurer
0bda42d822
chore: Enable "noImplicitOverride" compiler option and fix errors ( #1940 )
...
This commit makes deno_std "noImplicitOverride"-compliant and
enables the compiler option in deno.json so that further changes
don't regress it
2022-02-20 17:35:40 +01:00
Simon Lecoq
3284461e9d
feat(testing): add assertAlmostEquals
( #1906 )
2022-02-19 19:54:58 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Zheyu Zhang
a60fb1c154
fix(testing): assertObjectMatch
matches ArrayBuffer views correctly ( #1843 )
2022-01-26 12:10:01 +09:00
Satoshi
6a14fe29c8
chore(testing): Remove duplicate function call ( #1821 )
2022-01-13 16:39:47 +01:00
lmx-Hexagram
43c5946774
fix(testing/assert): inequality of -0 and 0 ( #1783 )
2022-01-04 07:01:24 +01:00
Bartek Iwańczuk
dcad2062d5
[BREAKING] Remove assertThrowsAsync from 'testing/' ( #1646 )
2021-12-13 14:00:20 +01:00
Yoshiya Hinosawa
7f3710a850
chore: fix jsdoc for deprecated assertThrowsSync ( #1593 )
2021-11-16 19:24:38 +09:00
Jonah Snider
1d9cd65f95
perf: use Array.from
instead of new Array
( #1551 )
...
Co-authored-by: Leon Strauss <me@lionc.de>
2021-11-11 10:21:06 +01:00
Christian Petersen
5a89b25862
fix(testing): fix nested array matching for assertObjectMatch ( #1289 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-11 16:43:02 +09:00
Craig Doremus
2c66f29c2f
doc(testing): update fast-check examples ( #1487 )
2021-10-30 21:11:39 +02:00
ayame113
50563aca43
fix(testing): show special characters in assertEquals results ( #1450 )
2021-10-26 18:05:38 +09:00
Kyle June
b84b432fb8
feat(testing): add assertIsError ( #1376 )
2021-10-24 14:08:48 +09:00
standvpmnt
0e38d24b3d
docs(testing): add example for fast-check ( #1413 )
2021-10-20 17:17:34 +09:00
c0per
b18ff0f3cb
fix(testing): improve assertObjectMatch ( #1419 )
...
fixes https://github.com/denoland/deno_std/issues/1418
2021-10-18 15:36:57 +09:00
Craig Morten
81332ba733
docs(testing): add test examples using sinon and chai ( #1334 )
2021-10-06 13:30:52 +09:00
Nayeem Rahman
a0994ff888
fix: use strict-ts44.tsconfig.json on release tests ( #1278 )
2021-09-16 15:13:54 +09:00
Nayeem Rahman
159e2aeffc
feat(testing/asserts): add assertThrows() overload to receive error ( #1219 )
2021-09-16 00:35:21 +09:00
Craig Morten
c4600fbd75
docs: correct typos ( #1207 )
2021-09-07 16:40:05 +09:00
Zhangyuan Nie
5facd2743f
fix(testing/asserts): export Constructor type ( #1208 )
2021-09-07 16:33:02 +09:00
Yoshiya Hinosawa
abec657c67
docs(testing): document assertRejects in README ( #1198 )
2021-09-07 15:04:00 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10:00
David Sherret
2fb3577559
fix(testing): assertEquals
now considers constructors equal if one is nullable and the other is Object ( #1159 )
2021-08-23 18:03:35 -04:00
Ryan Dahl
455077a905
fix: type check examples in README files ( #1121 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-11 11:28:10 +02:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00
Simon Lecoq
5606a10728
fix(testing): change assertThrows
and assertThrowsAsync
return type to void
and Promise<void>
( #1052 )
2021-07-28 14:54:58 +09:00
Simon Lecoq
7c4017fbad
fix(testing): assertThrowsAsync
always reporting Error
instead of actual error class ( #1051 )
2021-07-26 18:58:29 +09:00
Yoshiya Hinosawa
186354327c
chore: enable doc type checking ( #1050 )
2021-07-23 19:09:38 +09:00
Guilherme J. Tramontina
c27b2593d4
fix(testing/asserts): cater for different class constructor functions ( #1000 )
2021-07-22 13:53:53 +09:00
Fuji Haruka
1c96a57fdc
Don't merge diff when it's not spaces even if it's surrounded by word-diff ( #1032 )
2021-07-13 13:40:38 -04:00
Jesse Jackson
91cd23ab81
fix: improve type safety for browser-compatible modules ( #995 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-07-06 11:15:37 +09:00
Mark Fulton
fe93815008
fix(fail): use return type of never ( #1002 )
2021-07-05 11:44:09 -04:00
Simon Lecoq
a43cb5b322
feat(testing/asserts): improved strings diff ( #948 )
2021-06-24 16:58:35 +09:00
Jesse Jackson
ce65e694b0
feat(testing/asserts): use assertion signature for "assertExists" ( #969 )
2021-06-24 14:46:20 +09:00
Mark Fulton
a4c4dc2c60
fix(testing/asserts): fix handling of Weak* objects ( #951 )
2021-06-07 16:06:29 +09:00
Yusuke Tanaka
81be5faad9
chore: remove ESLint directives ( #941 )
2021-05-30 15:25:01 +09:00
Simon Lecoq
71b6522513
fix(testing): support array values in assertObjectMatch ( #906 )
2021-05-13 17:04:22 +09:00
Simon Lecoq
7e4d6efe24
fix(std/testing): equals does not differentiate undefined/absent keys ( #849 )
2021-04-14 14:50:48 +09:00
Yasser A.Idrissi
1333c6f916
fix(testing): Function signature of assertObjectEquals() does not accept interfaces #741 ( #763 )
...
Co-authored-by: William Perron <hey@wperron.io>
2021-04-05 08:02:59 -04:00
William Perron
69f3d67cb2
chore: remove Promise<void>
return type annotation ( #819 )
...
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.
used this one-liner to automatically remove everything:
```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Yusuke Tanaka
b134d54319
refactor: fix codes to pass no-unused-vars
lint ( #764 )
2021-03-02 15:31:37 +09:00
Simon Lecoq
b35290541d
fix(std/testing) : Handle Symbols correctly in deep equalities ( #731 )
2021-02-16 13:23:39 +01:00
Ryan Dahl
48a2496dbe
update copyright to 2021 ( denoland/deno#9081 )
2021-02-01 10:46:59 +00:00
Nayeem Rahman
a0bfd92db8
fix: Don't use JSDoc syntax for browser-compatibility headers ( denoland/deno#8960 )
2021-02-01 10:46:58 +00:00
William Perron
0ea945721b
docs: add missing jsdoc comments to exported functions ( denoland/deno#8442 )
...
includes:
- http/file_server.ts
- testing/_diff.ts
- testing/asserts.ts
Relates to denoland/deno#7487
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
57d903a06b
build: migrate to dlint ( denoland/deno#8176 )
...
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
2021-02-01 10:46:58 +00:00
Yasser A.Idrissi
ee1f8219b7
feat(testing): Add assertExists assertion ( denoland/deno#7874 )
2021-02-01 10:46:58 +00:00
Tim Reichen
55a7adb58e
rename(testing): rename assert*Contains to assert*Includes ( denoland/deno#7951 )
...
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2021-02-01 10:46:58 +00:00
Simon Lecoq
75e51cd223
feat(testing): Add support for object assertion against object subset ( denoland/deno#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).
2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8
docs: version all imports in README ( denoland/deno#7442 )
...
Use $STD_VERSION in README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf
docs: end sentences with a period in markdown ( denoland/deno#7813 )
2021-02-01 10:46:58 +00:00
tokiedokie
d4dcf633bd
refactor(testing): Get rid of default export and make testing/diff.ts private ( denoland/deno#7592 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
d80fb379cb
feat(cli/console): Add Deno.InspectOptions::colors ( denoland/deno#7742 )
...
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320
feat(fmt): Sort named import and export specifiers ( denoland/deno#7711 )
2021-02-01 10:46:58 +00:00
tokiedokie
d3fa1bbf5d
chore: add copyright ( denoland/deno#7593 )
2021-02-01 10:46:58 +00:00
Casper Beyer
ec04cb2584
fix(cli/console): always quote and escape inspected strings ( denoland/deno#7546 )
2021-02-01 10:46:58 +00:00
Pig Fang
c08982f09a
fix(testing): assertion diff color ( denoland/deno#7499 )
2021-02-01 10:46:58 +00:00
Christian Petersen
fc70f85d14
fix(testing): invalid dates assertion equality ( denoland/deno#7230 )
2021-02-01 10:46:58 +00:00
xcatliu
2f39e2eb24
feat(testing): add assertNotMatch ( denoland/deno#6775 )
2021-02-01 10:46:58 +00:00
Casper Beyer
521dd0834c
test(testing): reduce bench test iterations to 1e3 ( denoland/deno#7200 )
2021-02-01 10:46:58 +00:00
Kitson Kelly
d47cdf14aa
feat: update to TypeScript 4.0 ( denoland/deno#6514 )
2021-02-01 10:46:58 +00:00
Schwarzkopf Balázs
198851ee64
fix(node): misnamed assert exports ( denoland/deno#7123 )
2021-02-01 10:46:58 +00:00
David Sherret
1425960509
Use dprint for internal formatting ( denoland/deno#6682 )
2021-02-01 10:46:58 +00:00
Rob Waller
e9e789c933
fix(testing): assertThrows inheritance ( denoland/deno#6623 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
26b0fa530f
feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to InspectOptions ( denoland/deno#6591 )
2021-02-01 10:46:58 +00:00
uki00a
221393d449
fix(tesing/asserts): assertEquals/NotEquals should use milliseconds in Date ( denoland/deno#6644 )
2021-02-01 10:46:58 +00:00
WJH
634fc770a0
improve(asserts): allow assert functions to specify type parameter ( denoland/deno#6413 )
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
14b9403143
upgrade: swc_ecma_visit, dprint, deno_lint ( denoland/deno#6580 )
2021-02-01 10:46:58 +00:00
Yasser A.Idrissi
dbcef80d97
refactor(testing): Remove unuseful statement ( denoland/deno#6486 )
2021-02-01 10:46:58 +00:00
Casper Beyer
95568a5113
fix(testing) assertArrayContains should work with any array-like ( denoland/deno#6402 )
2021-02-01 10:46:58 +00:00
Rob Waller
f1f31bc965
fix(testing): assertThrows gracefully fails if non-Error thrown ( denoland/deno#6330 )
2021-02-01 10:46:58 +00:00
Vladimir Iakovlev
ac76e3c085
Update assertions names in testing README ( denoland/deno#6318 )
2021-02-01 10:46:58 +00:00
Joel Chippindale
64f0355dfd
Fix assertEqual so that it handles URL objects ( denoland/deno#6278 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0
refactor: Don't destructure the Deno namespace ( denoland/deno#6268 )
2021-02-01 10:46:58 +00:00
Szalay Kristóf
6908dc02f4
fix(testing/bench): Make progress callback async ( denoland/deno#6175 )
2021-02-01 10:46:57 +00:00
Casper Beyer
eb9127bf38
Rename abbreviated assertions in testing ( denoland/deno#6118 )
2021-02-01 10:46:57 +00:00
Jon Short
75198c971e
feat(testing): Allow non-void promises in assertThrowsAsync ( denoland/deno#6052 )
2021-02-01 10:46:57 +00:00
Szalay Kristóf
a2608199ae
refactor(testing/bench): Remove differentiating on runs count ( denoland/deno#6084 )
2021-02-01 10:46:57 +00:00
Szalay Kristóf
40b4a97c67
fix(testing/bench): clock assertions without --allow-hrtime ( denoland/deno#6069 )
2021-02-01 10:46:57 +00:00
Szalay Kristóf
b70486f8bd
docs: benchmarking ( denoland/deno#6075 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
63f4e7a223
fix(testing/asserts): Format values in assertArrayContains() ( denoland/deno#6060 )
2021-02-01 10:46:57 +00:00