summaryrefslogtreecommitdiff
path: root/test/fixtures/a.js
blob: 672da80896439cc48175b5135c7c70007cf09a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var c = require('./b/c');

common.debug('load fixtures/a.js');

var string = 'A';

exports.SomeClass = c.SomeClass;

exports.A = function() {
  return string;
};

exports.C = function() {
  return c.C();
};

exports.D = function() {
  return c.D();
};

exports.number = 42;

process.addListener('exit', function() {
  string = 'A done';
});