summaryrefslogtreecommitdiff
path: root/std/node/process_test.ts
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-25feat(std/node): Add support for process.on("exit") (#8940)Steven Guerrero
This commit adds support for process.on("exit") by appending a listener to the unload event. Luckily, unload works pretty much the same as on("exit") since it won't schedule any additional work in the even loop either. This commit also solves an error in the Node implementation, since "process.argv" didn't contained the main module route as it was supposed to.
2021-01-18test(std/node): ensure process.env case doesn't rely on unset variables (#9144)Casper Beyer
2021-01-18test(std/node): avoid project directories for cwd case (#9148)Casper Beyer
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2020-11-19fix(std/node): correct typings for global, globalThis, window (#8363)Steven Guerrero
2020-11-16feat(std/node): implement process.nextTick (#8386)Steven Guerrero
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-17feat(std/node) stub out process.stdin, stdout, stderr (#7184)Jarrett Helton
2020-09-15refactor(cli/tests): change std_path to root_path in std_tests() (#7438)tokiedokie
2020-09-13upgrade: deno_doc, deno_lint, dprint, swc (#7434)Bartek Iwańczuk
upgrades: - swc_ecmascript 0.7.7 - dprint-plugin-typescript 0.31.3 - deno_lint 0.2.0 - deno_doc 0.1.9 Split std_lint test into std_lint and unit_test_lint. Added lint ignores to CommonJS files in std/node.
2020-09-08test(std/node): make tests runnable from any directory (#7397)Casper Beyer
This makes std/node tests runnable from any directory by resolving the testdata directory and files relative to the module directory resolved from import.meta.url.
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-06-25fix(std/node/process): env, argv exports (#6455)Benjamin Lupton
The promise approach still required permissions to be specified at initialisation, rather than at request. Using a Proxy instance solves this permission issue. The Proxy instance approach also eliminates the need for the await. Achieving direct compatibility with Node.js. /ref pr #6392 /ref commit d16337cc9c59732fe81655482e08b72d844472e6
2020-06-23fix(std/node): global process should usable (#6392)Benjamin Lupton
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-04-29BREAKING: Map-like interface for Deno.env (#4942)Valentin Anger
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-02-24rename Deno.Err -> Deno.errors (#4093)Bartek Iwańczuk
2020-02-21refactor: remove unneeded ErrorKinds (#3936)Bartek Iwańczuk
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2019-11-18feat: std/node/process (#3368)Rafał Pocztarski
2019-10-09remove std submoduleRyan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std