Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
deno
/
cli
/
tests
/
node_compat
/
test
/
parallel
A modern runtime for JavaScript and TypeScript.
denoland/deno
Version
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.41.0
v1.40.5
v1.40.4
v1.40.3
v1.40.2
v1.40.1
v1.40.0
v1.39.4
v1.39.3
v1.39.2
v1.39.1
v1.39.0
v1.38.5
v1.38.4
v1.38.3
v1.38.2
v1.38.1
v1.38.0
v1.37.2
v1.37.1
v1.37.0
v1.36.4
v1.36.3
v1.36.2
v1.36.1
v1.36.0
v1.35.3
v1.35.2
v1.35.1
v1.35.0
v1.32.3
v1.32.2
v1.32.1
v1.32.0
v1.30.3
v1.30.2
v1.30.0
v1.29.3
v1.29.2
v1.29.1
v1.29.0
v1.28.3
v1.28.2
v1.28.1
v1.28.0
v1.27.2
v1.27.1
v1.27.0
v1.26.1
v1.26.0
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.21.3
v1.21.2
v1.21.1
v1.21.0
v1.20.6
v1.20.5
v1.20.4
1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.18.2
v1.18.1
v1.18.0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.16.4
v1.16.3
v1.16.2
v1.16.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.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.3
v0.0.2
v0.0.1
Go to Latest
Index
test-assert-async.js
test-assert-fail.js
test-assert-strict-exists.js
test-assert.js
test-bad-unicode.js
test-btoa-atob.js
test-buffer-alloc.js
test-buffer-arraybuffer.js
test-buffer-ascii.js
test-buffer-badhex.js
test-buffer-bigint64.js
test-buffer-bytelength.js
test-buffer-compare-offset.js
test-buffer-concat.js
test-buffer-constants.js
test-buffer-copy.js
test-buffer-equals.js
test-buffer-failed-alloc-typed-arrays.js
test-buffer-fakes.js
test-buffer-from.js
test-buffer-includes.js
test-buffer-indexof.js
test-buffer-inheritance.js
test-buffer-isencoding.js
test-buffer-iterator.js
test-buffer-new.js
test-buffer-no-negative-allocation.js
test-buffer-nopendingdep-map.js
test-buffer-of-no-deprecation.js
test-buffer-over-max-length.js
test-buffer-parent-property.js
test-buffer-read.js
test-buffer-readdouble.js
test-buffer-readfloat.js
test-buffer-readint.js
test-buffer-readuint.js
test-buffer-safe-unsafe.js
test-buffer-slice.js
test-buffer-slow.js
test-buffer-swap.js
test-buffer-tojson.js
test-buffer-tostring-range.js
test-buffer-tostring-rangeerror.js
test-buffer-tostring.js
test-buffer-writedouble.js
test-buffer-writefloat.js
test-buffer-writeint.js
test-buffer-writeuint.js
test-buffer-zero-fill-cli.js
test-buffer-zero-fill-reset.js
test-buffer-zero-fill.js
test-child-process-default-options.js
test-child-process-double-pipe.js
test-child-process-exec-abortcontroller-promisified.js
test-child-process-exec-cwd.js
test-child-process-exec-encoding.js
test-child-process-exec-env.js
test-child-process-exec-error.js
test-child-process-exec-kill-throws.js
test-child-process-exec-maxbuf.js
test-child-process-exec-std-encoding.js
test-child-process-exec-stdout-stderr-data-string.js
test-child-process-exec-timeout-not-expired.js
test-child-process-execfile-maxbuf.js
test-child-process-execfile.js
test-child-process-execfilesync-maxbuf.js
test-child-process-execsync-maxbuf.js
test-child-process-exit-code.js
test-child-process-flush-stdio.js
test-child-process-ipc.js
test-child-process-kill.js
test-child-process-set-blocking.js
test-child-process-spawn-args.js
test-child-process-spawn-event.js
test-child-process-spawnsync-args.js
test-child-process-spawnsync-env.js
test-child-process-spawnsync-maxbuf.js
test-child-process-spawnsync-validation-errors.js
test-child-process-spawnsync.js
test-child-process-stdio-inherit.js
test-child-process-stdout-flush-exit.js
test-child-process-stdout-flush.js
test-console-async-write-error.js
test-console-group.js
test-console-instance.js
test-console-log-stdio-broken-dest.js
test-console-log-throw-primitive.js
test-console-no-swallow-stack-overflow.js
test-console-sync-write-error.js
test-console-table.js
test-console-tty-colors.js
test-crypto-dh-shared.js
test-crypto-dh.js
test-crypto-hkdf.js
test-crypto-hmac.js
test-crypto-prime.js
test-crypto-secret-keygen.js
test-crypto-stream.js
test-crypto-update-encoding.js
test-crypto-x509.js
test-dgram-close-during-bind.js
test-dgram-close-signal.js
test-dgram-custom-lookup.js
test-dgram-ipv6only.js
test-dgram-send-cb-quelches-error.js
test-dgram-socket-buffer-size.js
test-dgram-udp6-link-local-address.js
test-diagnostics-channel-has-subscribers.js
test-diagnostics-channel-object-channel-pub-sub.js
test-diagnostics-channel-pub-sub.js
test-diagnostics-channel-symbol-named.js
test-diagnostics-channel-udp.js
test-dns-lookup.js
test-dns-memory-error.js
test-dns-promises-exists.js
test-dns-resolveany.js
test-dns-resolvens-typeerror.js
test-dns-setservers-type-check.js
test-dns.js
test-eval-strict-referenceerror.js
test-eval.js
test-event-emitter-add-listeners.js
test-event-emitter-emit-context.js
test-event-emitter-error-monitor.js
test-event-emitter-errors.js
test-event-emitter-get-max-listeners.js
test-event-emitter-invalid-listener.js
test-event-emitter-listener-count.js
test-event-emitter-listeners-side-effects.js
test-event-emitter-listeners.js
test-event-emitter-max-listeners.js
test-event-emitter-method-names.js
test-event-emitter-modify-in-emit.js
test-event-emitter-no-error-provided-to-error-event.js
test-event-emitter-num-args.js
test-event-emitter-once.js
test-event-emitter-prepend.js
test-event-emitter-remove-all-listeners.js
test-event-emitter-remove-listeners.js
test-event-emitter-set-max-listeners-side-effects.js
test-event-emitter-special-event-names.js
test-event-emitter-subclass.js
test-event-emitter-symbols.js
test-events-list.js
test-events-on-async-iterator.js
test-events-once.js
test-events-uncaught-exception-stack.js
test-eventtarget-brandcheck.js
test-exception-handler.js
test-exception-handler2.js
test-file-read-noexist.js
test-file-write-stream.js
test-file-write-stream2.js
test-file-write-stream3.js
test-file-write-stream4.js
test-fs-access.js
test-fs-append-file-sync.js
test-fs-append-file.js
test-fs-chmod-mask.js
test-fs-chmod.js
test-fs-chown-type-check.js
test-fs-copyfile.js
test-fs-empty-readStream.js
test-fs-mkdir.js
test-fs-open-flags.js
test-fs-open-mode-mask.js
test-fs-open-no-close.js
test-fs-open-numeric-flags.js
test-fs-open.js
test-fs-opendir.js
test-fs-read-stream-autoClose.js
test-fs-read-stream-concurrent-reads.js
test-fs-read-stream-double-close.js
test-fs-read-stream-encoding.js
test-fs-read-stream-fd.js
test-fs-read-stream-inherit.js
test-fs-read-stream-patch-open.js
test-fs-read-stream-resume.js
test-fs-read-stream-throw-type-error.js
test-fs-read-stream.js
test-fs-read-type.js
test-fs-read-zero-length.js
test-fs-read.js
test-fs-readdir-stack-overflow.js
test-fs-readdir.js
test-fs-readfile-empty.js
test-fs-realpath-native.js
test-fs-rmdir-recursive-sync-warns-not-found.js
test-fs-rmdir-recursive-sync-warns-on-file.js
test-fs-rmdir-recursive-throws-not-found.js
test-fs-rmdir-recursive-throws-on-file.js
test-fs-rmdir-recursive-warns-not-found.js
test-fs-rmdir-recursive-warns-on-file.js
test-fs-rmdir-recursive.js
test-fs-rmdir-type-check.js
test-fs-watchfile.js
test-fs-write-buffer.js
test-fs-write-file-buffer.js
test-fs-write-file-invalid-path.js
test-fs-write-file-sync.js
test-fs-write-file.js
test-fs-write-no-fd.js
test-fs-write-stream-autoclose-option.js
test-fs-write-stream-close-without-callback.js
test-fs-write-stream-double-close.js
test-fs-write-stream-end.js
test-fs-write-stream-fs.js
test-fs-write-stream-throw-type-error.js
test-fs-write-stream.js
test-fs-write-sync.js
test-fs-write.js
test-fs-writev-sync.js
test-handle-wrap-close-abort.js
test-http-agent-getname.js
test-http-client-get-url.js
test-http-client-read-in-error.js
test-http-localaddress.js
test-http-outgoing-internal-headernames-getter.js
test-http-outgoing-internal-headernames-setter.js
test-http-outgoing-internal-headers.js
test-http-outgoing-renderHeaders.js
test-http-outgoing-settimeout.js
test-net-access-byteswritten.js
test-net-better-error-messages-listen-path.js
test-net-better-error-messages-path.js
test-net-better-error-messages-port-hostname.js
test-net-connect-after-destroy.js
test-net-connect-buffer.js
test-net-connect-buffer2.js
test-net-connect-destroy.js
test-net-connect-immediate-destroy.js
test-net-connect-immediate-finish.js
test-net-connect-no-arg.js
test-net-dns-error.js
test-net-during-close.js
test-net-end-close.js
test-net-end-without-connect.js
test-net-isip.js
test-net-isipv4.js
test-net-isipv6.js
test-net-listen-close-server-callback-is-not-function.js
test-net-listen-close-server.js
test-net-listen-invalid-port.js
test-net-listening.js
test-net-localerror.js
test-net-options-lookup.js
test-net-pipe-connect-errors.js
test-net-server-call-listen-multiple-times.js
test-net-server-listen-options-signal.js
test-net-server-listen-options.js
test-net-server-listen-path.js
test-net-server-listen-remove-callback.js
test-net-server-options.js
test-net-server-try-ports.js
test-net-server-unref-persistent.js
test-net-server-unref.js
test-net-socket-destroy-twice.js
test-net-socket-no-halfopen-enforcer.js
test-net-socket-timeout.js
test-net-timeout-no-handle.js
test-net-write-arguments.js
test-next-tick-doesnt-hang.js
test-next-tick-fixed-queue-regression.js
test-next-tick-intentional-starvation.js
test-next-tick-ordering.js
test-next-tick-ordering2.js
test-next-tick-when-exiting.js
test-next-tick.js
test-nodeeventtarget.js
test-os.js
test-outgoing-message-destroy.js
test-outgoing-message-pipe.js
test-path-basename.js
test-path-dirname.js
test-path-extname.js
test-path-isabsolute.js
test-path-join.js
test-path-makelong.js
test-path-normalize.js
test-path-parse-format.js
test-path-posix-exists.js
test-path-relative.js
test-path-resolve.js
test-path-win32-exists.js
test-path-zero-length-strings.js
test-path.js
test-process-beforeexit.js
test-process-binding-internalbinding-allowlist.js
test-process-env-allowed-flags.js
test-process-exit-from-before-exit.js
test-process-exit-handler.js
test-process-exit-recursive.js
test-process-exit.js
test-process-kill-pid.js
test-process-uptime.js
test-promise-unhandled-silent.js
test-promise-unhandled-throw-handler.js
test-querystring-escape.js
test-querystring-maxKeys-non-finite.js
test-querystring-multichar-separator.js
test-querystring.js
test-readline-emit-keypress-events.js
test-readline-interface-escapecodetimeout.js
test-readline-interface.js
test-readline-keys.js
test-readline-position.js
test-readline-reopen.js
test-readline-set-raw-mode.js
test-readline-undefined-columns.js
test-readline.js
test-stdin-from-file-spawn.js
test-stream-add-abort-signal.js
test-stream-aliases-legacy.js
test-stream-auto-destroy.js
test-stream-await-drain-writers-in-synchronously-recursion-write.js
test-stream-backpressure.js
test-stream-big-packet.js
test-stream-big-push.js
test-stream-buffer-list.js
test-stream-construct.js
test-stream-destroy-event-order.js
test-stream-duplex-destroy.js
test-stream-duplex-end.js
test-stream-duplex-from.js
test-stream-duplex-props.js
test-stream-duplex-readable-end.js
test-stream-duplex-writable-finished.js
test-stream-duplex.js
test-stream-end-paused.js
test-stream-error-once.js
test-stream-events-prepend.js
test-stream-inheritance.js
test-stream-ispaused.js
test-stream-objectmode-undefined.js
test-stream-once-readable-pipe.js
test-stream-pipe-after-end.js
test-stream-pipe-await-drain-manual-resume.js
test-stream-pipe-await-drain-push-while-write.js
test-stream-pipe-await-drain.js
test-stream-pipe-cleanup-pause.js
test-stream-pipe-cleanup.js
test-stream-pipe-error-handling.js
test-stream-pipe-event.js
test-stream-pipe-flow-after-unpipe.js
test-stream-pipe-flow.js
test-stream-pipe-manual-resume.js
test-stream-pipe-multiple-pipes.js
test-stream-pipe-needDrain.js
test-stream-pipe-same-destination-twice.js
test-stream-pipe-unpipe-streams.js
test-stream-pipe-without-listenerCount.js
test-stream-pipeline-async-iterator.js
test-stream-pipeline-queued-end-in-destroy.js
test-stream-pipeline-with-empty-string.js
test-stream-push-strings.js
test-stream-readable-aborted.js
test-stream-readable-add-chunk-during-data.js
test-stream-readable-constructor-set-methods.js
test-stream-readable-data.js
test-stream-readable-destroy.js
test-stream-readable-didRead.js
test-stream-readable-emit-readable-short-stream.js
test-stream-readable-emittedReadable.js
test-stream-readable-end-destroyed.js
test-stream-readable-ended.js
test-stream-readable-error-end.js
test-stream-readable-event.js
test-stream-readable-flow-recursion.js
test-stream-readable-hwm-0-async.js
test-stream-readable-hwm-0-no-flow-data.js
test-stream-readable-hwm-0.js
test-stream-readable-infinite-read.js
test-stream-readable-invalid-chunk.js
test-stream-readable-needReadable.js
test-stream-readable-next-no-null.js
test-stream-readable-no-unneeded-readable.js
test-stream-readable-object-multi-push-async.js
test-stream-readable-pause-and-resume.js
test-stream-readable-readable-then-resume.js
test-stream-readable-readable.js
test-stream-readable-reading-readingMore.js
test-stream-readable-resume-hwm.js
test-stream-readable-resumeScheduled.js
test-stream-readable-setEncoding-existing-buffers.js
test-stream-readable-setEncoding-null.js
test-stream-readable-unshift.js
test-stream-readable-with-unimplemented-_read.js
test-stream-readableListening-state.js
test-stream-transform-callback-twice.js
test-stream-transform-constructor-set-methods.js
test-stream-transform-destroy.js
test-stream-transform-final-sync.js
test-stream-transform-final.js
test-stream-transform-flush-data.js
test-stream-transform-objectmode-falsey-value.js
test-stream-transform-split-highwatermark.js
test-stream-transform-split-objectmode.js
test-stream-uint8array.js
test-stream-unpipe-event.js
test-stream-unshift-empty-chunk.js
test-stream-unshift-read-race.js
test-stream-writable-change-default-encoding.js
test-stream-writable-clear-buffer.js
test-stream-writable-constructor-set-methods.js
test-stream-writable-decoded-encoding.js
test-stream-writable-destroy.js
test-stream-writable-end-cb-error.js
test-stream-writable-end-multiple.js
test-stream-writable-ended-state.js
test-stream-writable-finish-destroyed.js
test-stream-writable-finished-state.js
test-stream-writable-finished.js
test-stream-writable-invalid-chunk.js
test-stream-writable-needdrain-state.js
test-stream-writable-null.js
test-stream-writable-properties.js
test-stream-writable-writable.js
test-stream-writable-write-cb-error.js
test-stream-writable-write-cb-twice.js
test-stream-writable-write-error.js
test-stream-writable-write-writev-finish.js
test-stream-writableState-ending.js
test-stream-writableState-uncorked-bufferedRequestCount.js
test-stream-write-destroy.js
test-stream-write-drain.js
test-stream-write-final.js
test-stream-writev.js
test-stream2-base64-single-char-read-end.js
test-stream2-basic.js
test-stream2-compatibility.js
test-stream2-decode-partial.js
test-stream2-finish-pipe.js
test-stream2-large-read-stall.js
test-stream2-objects.js
test-stream2-pipe-error-handling.js
test-stream2-pipe-error-once-listener.js
test-stream2-push.js
test-stream2-read-sync-stack.js
test-stream2-readable-empty-buffer-no-eof.js
test-stream2-readable-from-list.js
test-stream2-readable-legacy-drain.js
test-stream2-readable-non-empty-end.js
test-stream2-readable-wrap-destroy.js
test-stream2-readable-wrap-empty.js
test-stream2-readable-wrap-error.js
test-stream2-readable-wrap.js
test-stream2-set-encoding.js
test-stream2-transform.js
test-stream2-unpipe-drain.js
test-stream2-unpipe-leak.js
test-stream2-writable.js
test-stream3-cork-end.js
test-stream3-cork-uncork.js
test-stream3-pause-then-read.js
test-streams-highwatermark.js
test-timers-api-refs.js
test-timers-args.js
test-timers-clear-null-does-not-throw-error.js
test-timers-clear-object-does-not-throw-error.js
test-timers-clear-timeout-interval-equivalent.js
test-timers-clearImmediate.js
test-timers-interval-throw.js
test-timers-non-integer-delay.js
test-timers-refresh.js
test-timers-same-timeout-wrong-list-deleted.js
test-timers-timeout-with-non-integer.js
test-timers-uncaught-exception.js
test-timers-unref-throw-then-ref.js
test-timers-user-call.js
test-timers-zero-timeout.js
test-url-domain-ascii-unicode.js
test-url-fileurltopath.js
test-url-format-invalid-input.js
test-url-format-whatwg.js
test-url-format.js
test-url-parse-invalid-input.js
test-url-parse-query.js
test-url-pathtofileurl.js
test-url-relative.js
test-url-urltooptions.js
test-util-deprecate-invalid-code.js
test-util-deprecate.js
test-util-format.js
test-util-inherits.js
test-util-inspect-long-running.js
test-util-inspect-namespace.js
test-util-inspect-proxy.js
test-util-inspect.js
test-util-isDeepStrictEqual.js
test-util-promisify.js
test-util-types-exists.js
test-util-types.js
test-util.js
test-vm-new-script-this-context.js
test-vm-static-this.js
test-webcrypto-sign-verify.js
test-whatwg-encoding-custom-api-basics.js
test-whatwg-encoding-custom-textdecoder-ignorebom.js
test-whatwg-encoding-custom-textdecoder-streaming.js
test-whatwg-events-add-event-listener-options-passive.js
test-whatwg-events-add-event-listener-options-signal.js
test-whatwg-events-customevent.js
test-whatwg-url-custom-deepequal.js
test-whatwg-url-custom-global.js
test-whatwg-url-custom-href-side-effect.js
test-whatwg-url-custom-tostringtag.js
test-whatwg-url-override-hostname.js
test-whatwg-url-properties.js
test-zlib-close-after-error.js
test-zlib-close-after-write.js
test-zlib-convenience-methods.js
test-zlib-deflate-raw-inherits.js
test-zlib-destroy-pipe.js
test-zlib-empty-buffer.js
test-zlib-from-string.js
test-zlib-invalid-input.js
test-zlib-no-stream.js
test-zlib-random-byte-pipes.js
test-zlib-sync-no-event.js
test-zlib-truncated.js
test-zlib-unzip-one-byte-chunks.js
test-zlib-write-after-end.js
test-zlib-write-after-flush.js
test-zlib-zero-byte.js
test-zlib-zero-windowBits.js