Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
9615910
doc: var => let / const in repl.md
vsemozhetbyt Dec 6, 2016
3e18789
doc: white space unification in repl.md
vsemozhetbyt Dec 6, 2016
743f84d
doc: fix an output example in repl.md
vsemozhetbyt Dec 6, 2016
a7501f2
doc: fix a function name in repl.md
vsemozhetbyt Dec 6, 2016
402c625
doc: name anonymous functions in repl.md
vsemozhetbyt Dec 6, 2016
e20c785
doc: document argument variant in repl.md
vsemozhetbyt Dec 6, 2016
4357059
doc: add the valid link for curl(1) in repl.md
vsemozhetbyt Dec 6, 2016
9c7054b
doc: replace anonymous functions in repl.md
vsemozhetbyt Dec 7, 2016
cdeb85e
test: move long-running test to sequential
Trott Dec 7, 2016
da077ee
test: refactor test-dgram-bind-default-address
mbchoa Dec 1, 2016
22e2c47
build: fix node_g target
danbev Dec 6, 2016
a244147
test: check result of uv_loop_init and uv_write
bnoordhuis Dec 5, 2016
1b25214
test: use const and strictEqual in test-os-homedir-no-envvar
codeVana Dec 1, 2016
61d6293
url: improve URLSearchParams spec compliance
TimothyGu Nov 6, 2016
ac78812
test: refactor test-domain-exit-dispose-again
Ethan-Arrowood Dec 1, 2016
b0c10a2
test: refactor test-domain-from-timer
Dec 1, 2016
586b787
doc: removing extra space in README
Dec 7, 2016
df4018e
doc: reword variable declaration note in repl.md
vsemozhetbyt Dec 7, 2016
29b2e88
test: improve test-fs-read-stream.js
jennabelle Nov 16, 2016
c6eae5a
doc: adding missing - in README
Dec 7, 2016
8960383
test: refactor test-beforeexit-event
radelmann Dec 4, 2016
83d9cd8
test: refactor test-https-agent-session-reuse
dpaez Dec 3, 2016
fd6999e
test: improves test-tls-client-verify
Dec 1, 2016
57f993d
test: renamed assert.Equal to assert.strictEqual
triscuitoraus Dec 1, 2016
e6a0c39
test: changed assert.equal to assert.strictEqual
zina-olson Dec 1, 2016
558fa1c
test: change assert.equal to assert.strictEqual
Dec 1, 2016
deb9cc0
test: use `assert.strictEqual`
anoff Dec 1, 2016
68488e9
test: fix error in test-cluster-worker-death.js
Dec 1, 2016
1e4b9a1
test: refactor test-crypto-hmac
eudaimos Dec 1, 2016
2d0ce51
doc: update `path.format` description and examples
anoff Dec 1, 2016
6967ed4
test: refactor test-net-keepalive.js
kmccmk9 Dec 1, 2016
df39784
http: verify client method is a string
lucamaraschi Dec 4, 2016
a0a6ff2
doc: add some info on `tty#setRawMode()`
Fishrock123 Dec 6, 2016
6dd0754
test: fix flaky test-net-socket-timeout
Trott Dec 7, 2016
9a5d475
http: remove stale timeout listeners
Nov 1, 2016
f0da38a
test: increase test coverage of BufferList
joyeecheung Dec 1, 2016
444b907
test: refactor test-http-unix-socket
Dec 1, 2016
6aacef7
test: check for error on invalid signal
mattcphillips Dec 1, 2016
a8137dd
tools: add macosx-firwall script to avoid popups
danbev Dec 3, 2016
def6dfb
test: set stdin too for pseudo-tty tests
addaleax Dec 6, 2016
b8fc9a3
test: add stdin-setrawmode.out file
Dec 6, 2016
bc335c0
doc: buffer allocation throws for negative size
joyeecheung Dec 6, 2016
f9aadfb
inspector: move options parsing
Nov 18, 2016
d8c7534
inspector: stop relying on magic strings
Nov 21, 2016
3d24856
doc: revert documenting argument form in repl.md
vsemozhetbyt Dec 9, 2016
cffbb32
doc: add note to parallelize make
Dec 1, 2016
0cd1f54
doc: standardizing on make -j4
Dec 6, 2016
4d11c2c
lib,test: use consistent operator linebreak style
targos Dec 8, 2016
7c2dbd1
tools: enforce consistent operator linebreak style
targos Dec 8, 2016
aa77b76
lib,src: support values > 4GB in heap statistics
bnoordhuis Dec 8, 2016
8dbf1af
test: stream readableListening internal state
Dec 1, 2016
8621ccc
test: stream readableState readingMore state
chmln Dec 1, 2016
f5c2c8c
test: improving crypto fips
Dec 1, 2016
9f58e02
test: improve buffer transcode
Dec 1, 2016
a84017a
url, test: including base argument in originFor
joyeecheung Dec 1, 2016
5607228
test: use ES6 in test-debugger-client.js
edsadr Dec 8, 2016
14b0b44
doc: fix typo in code example of 'path' module
pallxk Dec 6, 2016
10929f6
test: fail for missing output files
addaleax Dec 6, 2016
f418a22
doc: modernize child_process example code
vsemozhetbyt Dec 3, 2016
9ee915b
buffer: handle UCS2 `.fill()` properly on BE
addaleax Dec 6, 2016
d4f00fe
buffer: fix single-character string filling
addaleax Nov 29, 2016
c3839f7
tls: fix/annotate connect arg comments
sam-github Nov 18, 2016
d4050b3
tls: document and test option-less createServer
sam-github Nov 21, 2016
475b8db
test: tls key/cert ordering not necessary
sam-github Nov 22, 2016
a28e949
tls: do not refer to secureOptions as flags
sam-github Nov 22, 2016
caa7fa9
doc: rework tls for accuracy and clarity
sam-github Nov 23, 2016
db50307
test: var to const in tls-no-cert-required
sam-github Dec 9, 2016
fa4f158
test: replace var with const in test-require-dot
amarzavery Dec 1, 2016
a8e8708
test: add ES6 and strictEqual to test-fs-truncate
edsadr Dec 7, 2016
499fc7a
test: refactor test-handle-wrap-close-abort
Trott Dec 9, 2016
50cb3a3
doc: document argument variant in the repl.md
vsemozhetbyt Dec 10, 2016
7346e55
test: refactor http pipelined socket test
Trott Dec 9, 2016
10891a1
test: refactor assert.equal, update syntax to ES6
Dec 1, 2016
8bad37a
test: refactor test-https-truncate
Trott Dec 11, 2016
5f18b40
doc: var => let / const in repl.md
vsemozhetbyt Dec 6, 2016
bed9aae
doc: white space unification in repl.md
vsemozhetbyt Dec 6, 2016
9bef034
doc: fix an output example in repl.md
vsemozhetbyt Dec 6, 2016
67c2a7d
doc: fix a function name in repl.md
vsemozhetbyt Dec 6, 2016
d665e39
doc: name anonymous functions in repl.md
vsemozhetbyt Dec 6, 2016
5f31da7
doc: document argument variant in repl.md
vsemozhetbyt Dec 6, 2016
d5861ad
doc: add the valid link for curl(1) in repl.md
vsemozhetbyt Dec 6, 2016
0c32eb5
doc: replace anonymous functions in repl.md
vsemozhetbyt Dec 7, 2016
936263e
doc: reword variable declaration note in repl.md
vsemozhetbyt Dec 7, 2016
588a5d5
doc: revert documenting argument form in repl.md
vsemozhetbyt Dec 9, 2016
10c0137
doc: resolved merge conflict
vsemozhetbyt Dec 12, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: refactor test-domain-from-timer
In this change, the setTimeout needed a second argument, so I set that
value to 1. In addition, I changed the assertion to be a strictEquals
instead of equals.

I changed the var declarations to const in this test.

PR-URL: #9889
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Daniel Sims authored and Trott committed Dec 7, 2016
commit b0c10a24a648af09605c8cf859ea02cc5629afc9
10 changes: 5 additions & 5 deletions test/parallel/test-domain-from-timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
// Simple tests of most basic domain functionality.

require('../common');
var assert = require('assert');
const assert = require('assert');

// timeouts call the callback directly from cc, so need to make sure the
// domain will be used regardless
setTimeout(function() {
var domain = require('domain');
var d = domain.create();
const domain = require('domain');
const d = domain.create();
d.run(function() {
process.nextTick(function() {
console.trace('in nexttick', process.domain === d);
assert.equal(process.domain, d);
assert.strictEqual(process.domain, d);
});
});
});
}, 1);