Commit Graph

24 Commits

Author SHA1 Message Date
Ian Bull
833a24f088
refactor(async): align the error messages to the style guide (#5758)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-22 15:02:58 +09:00
Asher Gomez
cd0bc9f2e1
test(async): improve test speed of async/pool_test.ts (#5611)
* test(async): improve test speed of `async/pool_test.ts`

* fix
2024-08-02 12:32:55 +09:00
Yoshiya Hinosawa
3a930850c3
BREAKING(async): stop exporting ERROR_WHILE_MAPPING_MESSAGE (#5041) 2024-06-14 19:15:35 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Michael Herzner
61183bcbcc
test(async): improve test coverage (#4567) 2024-04-12 07:23:54 +10:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Tim Reichen
83fe26f36d
refactor(async): format test names (#3985)
* initial commit

* Update async/pool_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* update test names

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 09:29:13 +11:00
Asher Gomez
56e2bc10e0
chore: use Array.fromAsync() where possible (#3788) 2023-11-11 06:00:28 +11:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Jesse Jackson
c5dbe0747b
feat(async/pool): use browser compatible APIs (#3350)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-05-02 14:48:33 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Matthew Leon
3c129122f1
test(async): use generic assertRejects in pool_test.ts (#2287)
Fixes a deprecation warning. Resolves https://github.com/denoland/deno_std/issues/2283
2022-05-30 19:21:28 +09:00
Tim Reichen
6dcb19b003
chore: replace console.log with array and assertEquals (#2261) 2022-05-22 16:18:10 +02:00
Thomas Cruveilher
215139c170
fix(async/pooledMap): return ordered result (#2239)
closes #2236
2022-05-19 14:05:49 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Nayeem Rahman
159e2aeffc
feat(testing/asserts): add assertThrows() overload to receive error (#1219) 2021-09-16 00:35:21 +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
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
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
Nayeem Rahman
3978c86d66 fix(async): make pooledMap() errors catchable (denoland/deno#9217) 2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
tokiedokie
d3fa1bbf5d chore: add copyright (denoland/deno#7593) 2021-02-01 10:46:58 +00:00
Luca Casonato
023bfa9c38 feat(async): add pooledMap utility (denoland/deno#6898) 2021-02-01 10:46:58 +00:00