Skip to content

Commit

Permalink
remove invalid test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 3, 2020
1 parent 5f4310d commit 6b43b23
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 49 deletions.
11 changes: 0 additions & 11 deletions test/cli/node_modules/bar/lib/config.js

This file was deleted.

3 changes: 0 additions & 3 deletions test/cli/node_modules/bar/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions test/cli/node_modules/rollup-config-foo/lib/config.js

This file was deleted.

3 changes: 0 additions & 3 deletions test/cli/node_modules/rollup-config-foo/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/cli/samples/watch/bundle-error/main.js
@@ -1 +1 @@
<=>
export default 42;
23 changes: 4 additions & 19 deletions test/cli/samples/watch/watch-config-early-update/rollup.config.js
@@ -1,24 +1,9 @@

import path from 'path';
import fs from 'fs';
const messageFile = path.resolve(__dirname, '_actual', 'message.txt');
export default new Promise(resolve => {
fs.writeFileSync(messageFile, 'loading');
const watcher = fs.watch(messageFile, event => {
if (event === 'change') {
const content = fs.readFileSync(messageFile, 'utf8');
if (content === 'loaded') {
watcher.close();
fs.writeFileSync(messageFile, 'resolved');
resolve({
input: {output1: "main.js"},
export default {
input: {output2: "main.js"},
output: {
dir: "_actual",
format: "es"
}
});
}
}
});
});

};

8 changes: 7 additions & 1 deletion test/cli/samples/watch/watch-config/rollup.config.js
@@ -1 +1,7 @@
throw new Error("Config contains initial errors");
export default {
input: {output: "main4.js"},
output: {
dir: "_actual",
format: "es"
}
};

0 comments on commit 6b43b23

Please sign in to comment.