0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Sakthipriyan Vairamani ed85c95a9c doc,test: documents behaviour of non-existent file
As per the discussion in
https://github.com/nodejs/io.js/pull/2093#discussion_r34343965, this
patch documents the behavior of calling fs.watchFile() with a path that
does not yet exist.

This patch also includes a test which checks if a file not present, the
callback is invoked at least once and if the file is created after
the callback is invoked, it will be invoked again with new stat
objects.

PR-URL: https://github.com/nodejs/io.js/pull/2169
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-08-04 22:31:01 +05:30
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
fixtures util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet test: do not use public IPs for timeout testing 2015-07-27 17:07:54 -07:00
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel doc,test: documents behaviour of non-existent file 2015-08-04 22:31:01 +05:30
pummel test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
sequential test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: use common.isWindows consistently 2015-07-31 00:29:36 +05:30