git ssb

0+

cel-desktop / ssb-pkg



Tree: 1eb144e388da5f1a3466703f56ac4ab591d700fc

Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / test / test-50-native-addon-3 / lib / test-x-index.js

705 bytesRaw
1/* eslint-disable no-underscore-dangle */
2
3'use strict';
4
5var fs = require('fs');
6var path = require('path');
7var Module = require('module');
8Module._extensions['.node'] = Module._extensions['.js'];
9console.log(fs.existsSync(path.join(__dirname, '../node_modules/dependency/time-d.node')));
10console.log(require('dependency/time-d.node'));
11console.log(fs.existsSync(path.join(__dirname, 'time-x.node')));
12console.log(require('./time-x.node'));
13console.log(fs.existsSync(path.join(__dirname, 'community/time-y.node')));
14console.log(require('./community/time-y.node'));
15console.log(fs.existsSync(path.join(__dirname, '../lib/enterprise/time-z.node')));
16console.log(require('../lib/enterprise/time-z.node'));
17

Built with git-ssb-web