Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Feb 18, 2020
1 parent b72231a commit f7e8356
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli/samples/stdout-code-splitting/_config.js
Expand Up @@ -5,8 +5,8 @@ const STANDARD = '\u001b[22m\u001b[39m';

module.exports = {
description: 'bundles multiple files to stdout while adding file names',
command: 'rollup -i main1.js -i main2.js -f es',
env: { FORCE_COLOR: '1' },
command: './wrapper.js -i main1.js -i main2.js -f es',
env: { FORCE_COLOR: '1', TERM: 'xterm' },
result(code) {
assert.equal(
code,
Expand Down
4 changes: 4 additions & 0 deletions test/cli/samples/stdout-code-splitting/wrapper.js
@@ -0,0 +1,4 @@
#!/usr/bin/env node

process.stdout.isTTY = true;
require('../../../../dist/bin/rollup');

0 comments on commit f7e8356

Please sign in to comment.