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
Szalay Kristóf
beeaf368df
feat(testing): benching progress callback ( denoland/deno#5941 )
2021-02-01 10:46:57 +00:00
Szalay Kristóf
95a10d7abf
Return results in benchmark promise ( denoland/deno#5842 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
309e1cb6a0
fix(testing/asserts): Support browsers ( denoland/deno#5847 )
2021-02-01 10:46:57 +00:00
Speykious
659825a0ef
Provide better ANSI colorized output when inspecting objects ( denoland/deno#5404 )
2021-02-01 10:46:57 +00:00
Stéphane Klein
f88c05396d
fix(testing): Provide message and diff for assertStrictEq ( denoland/deno#5417 )
...
closes denoland/deno#5416
2021-02-01 10:46:57 +00:00
Nayeem Rahman
e4cb19d01d
BREAKING: Remove Deno.EOF, use null instead ( denoland/deno#4953 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
4facff44f2
BREAKING: remove overload of Deno.test() ( denoland/deno#4951 )
...
This commit removes overload of Deno.test() that accepted named
function.
2021-02-01 10:46:57 +00:00
Nayeem Rahman
1fcef0d8e7
Remove testing/format.ts ( denoland/deno#4749 )
2021-02-01 10:46:57 +00:00
Chris Knight
36605613c5
fix(testing/asserts): change left/right to actual/expected ( denoland/deno#4697 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
3be952f68f
remove testing/runner.ts ( denoland/deno#4649 )
2021-02-01 10:46:57 +00:00