This website requires JavaScript.
Explore
Help
Register
Sign In
daohualiuxiang
/
node
mirror of
https://github.com/nodejs/node.git
Watch
1
Star
0
Fork
You've already forked node
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5298c81f42
node
/
test
/
message
/
timeout_throw.js
7 lines
100 B
JavaScript
Raw
Normal View
History
Unescape
Escape
test: enable linting for tests Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-19 19:00:06 +08:00
'use strict'
;
test: remove unnecessary assignments common.js needs to be loaded in all tests so that there is checking for variable leaks and possibly other things. However, it does not need to be assigned to a variable if nothing in common.js is referred to elsewhere in the test. PR-URL: https://github.com/nodejs/node/pull/4408 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-12-24 08:02:12 +08:00
require
(
'../common'
)
;
test-message: Add setTimeout and nextTick message tests
2012-12-27 10:13:59 +08:00
setTimeout
(
function
(
)
{
undefined
_reference
_error
_maker
;
}
)
;