Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-46-input-package-json-dir / main.js
423 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 = '.'; |
12 | |
13 | const newcomers = [ |
14 | 'palookaville-linux', |
15 | 'palookaville-macos', |
16 | 'palookaville-win.exe' |
17 | ]; |
18 | |
19 | const before = utils.filesBefore(newcomers); |
20 | |
21 | utils.pkg.sync([ |
22 | input |
23 | ], { stdio: 'inherit' }); |
24 | |
25 | utils.filesAfter(before, newcomers); |
26 |
Built with git-ssb-web