Asher Gomez
43102325b7
test: use Deno.errors.NotCapable
where appropriate ( #5935 )
...
* test: use `Deno.errors.NotCapable` where appropriate
* copyright headers
* fixes
* fixes
* fixes
2024-09-11 19:17:27 +09:00
Ian Bull
a8a1d42aa7
refactor(fs): align additional error messages ( #5802 )
2024-08-26 13:31:34 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
denobot
2442373bdd
0.223.0 ( #4588 )
...
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-04-16 01:31:19 +02:00
Asher Gomez
805b926032
fix: add --no-lock
to spawned process args in tests ( #4168 )
2024-01-12 13:38:41 +09:00
Yoshiya Hinosawa
4ca2baefe3
fix(fs): reduce perm requirement of ensureDir()
( #4041 )
...
Co-authored-by: Florian Schwalm <Florian.Schwalm@seven.one>
2024-01-08 22:36:41 +09: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
Jacob Avery
bc540fbf07
refactor(fs): correct test names ( #3835 )
...
* chore(fs): Update fs test descriptions
* fixes "throws" to "rejects" when appropriate
* Update fs/eol_test.ts
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-23 17:59:59 +11:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts
to std/assert
( #3445 )
2023-07-13 16:04:30 +09:00
ayame113
523818447c
chore(fs): refactor the test of ensureFile and ensureDir ( #3240 )
2023-03-08 21:27:10 +09:00
ayame113
b4239898d6
chore: update copyright header ( #3082 )
2023-01-03 19:47:44 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void
and Promise<void>
return types ( #2550 )
2022-08-24 10:21:57 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +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
Yusuke Tanaka
d8a589ac80
chore: update copyright to 2021 ( denoland/deno#9092 )
2021-02-01 10:46:59 +00:00
Casper Beyer
ff1382572e
test(fs): make tests runnable from any directory ( denoland/deno#7388 )
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
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
Bartek Iwańczuk
82a523639a
refactor: rewrite tests in to use Deno.test ( denoland/deno#3930 )
2021-02-01 10:46:57 +00:00
Ry Dahl
8c250d5668
fix: Deno.mkdir should conform to style guide ( denoland/deno#3617 )
2021-02-01 10:46:56 +00:00
Ry Dahl
3a9eb92372
Happy new year! ( denoland/deno#3578 )
2021-02-01 10:46:56 +00:00
Kitson Kelly
1c5db631f7
Update to TypeScript 3.7 ( denoland/deno#3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes denoland/deno#3273
2021-02-01 10:46:56 +00:00
Nayeem Rahman
5b2aec7a62
std: Move fs/path to the top-level ( denoland/deno#3100 )
2021-02-01 10:46:56 +00:00
Ryan Dahl
d491d2e747
Run deno_std tests in github actions
2021-02-01 10:46:56 +00:00
Axetroy
06958a4ada
bump prettier to 1.18.2 ( #592 )
2019-09-11 23:31:23 -04:00
Vincent LE GOFF
4543b563a9
Eslint fixes ( #356 )
...
Make warnings fail
2019-04-24 07:41:22 -04:00
Axetroy
24f41f67bd
fix: ensure exists file/dir must be the same type or it will throw error ( #294 )
2019-04-07 04:01:23 +03:00
Axetroy
59adafe867
fix: wrong usage of assertThrowsAsync which without await keyword ( #295 )
2019-03-19 13:22:33 -04:00
Axetroy
9ae941338a
feat: add ensureDir/ensureFile for fs modules ( #264 )
2019-03-12 01:52:43 -04:00