Skip to content

Commit a4592c0

Browse files
author
Jan Kurella
committed
start the parallel process after you assigned the listener.
1 parent f75e62c commit a4592c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/eval.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ describe('eval.js', function () {
88

99
it('should eval the given code', function () {
1010
var wrk = new Worker(__dirname + '/../lib/eval.js');
11-
wrk.postMessage('process.send(JSON.stringify("abc"))');
1211

1312
var result = null;
1413
var done = false;
@@ -18,6 +17,7 @@ describe('eval.js', function () {
1817
done = true;
1918
wrk.terminate();
2019
};
20+
wrk.postMessage('process.send(JSON.stringify("abc"))');
2121
});
2222

2323
waitsFor(function () {

0 commit comments

Comments
 (0)