• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2// Flags: --expose-gc
3
4process.env.NODE_TEST_KNOWN_GLOBALS = 0;
5
6const common = require('../../common');
7const binding = require(`./build/${common.buildType}/binding`);
8
9global.it = new binding.MyObject();
10
11global.cleanup = () => {
12  delete global.it;
13  global.gc();
14};
15