Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

test: add a child domain explicitly

  • Loading branch information
xenyou authored and bnoordhuis committed May 1, 2012
1 parent fb400b4 commit ee2291eb0d6baa9fb82ed0fef623a3895bc1fc0d
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/simple/test-domain-multi.js
@@ -43,10 +43,9 @@ a.on('error', function(er) {

var http = require('http');
var server = http.createServer(function (req, res) {
// child domain.
// implicitly added to a, because we're in a when
// it is created.
// child domain of a.
var b = domain.create();
a.add(b);

// treat these EE objects as if they are a part of the b domain
// so, an 'error' event on them propagates to the domain, rather

0 comments on commit ee2291e

Please sign in to comment.
You can’t perform that action at this time.