Files: 67c0e15a98a66eb99db2251478505d6f3d37535c / test / test-46-input-output-js-exe / main.js
413 bytesRaw
1 | |
2 | |
3 | 'use strict'; |
4 | |
5 | const assert = require('assert'); |
6 | const utils = require('../utils.js'); |
7 | |
8 | assert(!module.parent); |
9 | assert(__dirname === process.cwd()); |
10 | |
11 | const input = './test-x-index.js'; |
12 | const newcomers = [ 'test-output.exe' ]; |
13 | const before = utils.filesBefore(newcomers); |
14 | |
15 | utils.pkg.sync([ |
16 | '--output', 'test-output.exe', input |
17 | ], { stdio: 'inherit' }); |
18 | |
19 | utils.filesAfter(before, newcomers); |
20 |
Built with git-ssb-web