git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / 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