nyc/test/config-override.js
raw| 1 | 'use strict' |
| 2 | |
| 3 | const t = require('tap') |
| 4 | |
| 5 | const { tempDirSetup, testSuccess } = require('./helpers') |
| 6 | |
| 7 | tempDirSetup(t, __filename) |
| 8 | |
| 9 | t.test('spawn that does config overriding', t => testSuccess(t, { |
| 10 | args: [ |
| 11 | '--exclude-after-remap=false', |
| 12 | '--include=conf-override-root.js', |
| 13 | process.execPath, 'conf-override-root.js' |
| 14 | ] |
| 15 | })) |