Skip to content

Commit

Permalink
oh
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 11, 2017
1 parent 492c228 commit 082d0de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
6 changes: 6 additions & 0 deletions test/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ const { deindent, loadConfig, normaliseOutput } = require('../utils.js');

const samples = path.resolve(__dirname, 'samples');

const cwd = process.cwd();

describe('cli', () => {
afterEach(() => {
process.chdir(cwd);
});

sander.readdirSync(samples).sort().forEach(dir => {
if (dir[0] === '.') return; // .DS_Store...

Expand Down
5 changes: 0 additions & 5 deletions test/cli/samples/node-config/_config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
const sander = require('sander');

sander.rimrafSync(__dirname, 'node_modules');
sander.copydirSync(__dirname, 'node_modules_rename_me').to(__dirname, 'node_modules');

module.exports = {
description: 'uses config file installed from npm',
command: 'rollup --config node:foo',
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 082d0de

Please sign in to comment.