Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thgh committed Oct 19, 2022
1 parent bfddf7d commit 5a041bd
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"build": "rollup -c",
"dev": "rollup -cw",
"test:nested": "cd test/nested && rm -rf output && rollup -c && cmp output/bundle.js expected/bundle.js && cmp output/bundle.css expected/bundle.css && cd ../..",
"test:nested": "cd test/nested && rm -rf output && rollup -c && cmp output/output.js expected.js && cmp output/output.css expected.css && cd ../..",
"test:simple": "cd test/simple && rm -rf output && rollup -c && cmp output/output.js expected.js && cmp output/output.css expected.css && cd ../..",
"test:win:simple": "cd .\\test\\simple && del -f output.* && rollup -c && cd .. && ECHO n|comp simple\\output.js expected.js && ECHO n|comp simple\\output.css simple\\expected.css && cd ..",
"test": "npm run test:simple && npm run test:nested",
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions test/nested/output/bundle.css

This file was deleted.

3 changes: 0 additions & 3 deletions test/nested/output/bundle.js

This file was deleted.

4 changes: 2 additions & 2 deletions test/nested/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import css from '../../src/index.mjs'
export default {
input: 'input.js',
output: {
file: 'output/bundle.js',
file: 'output/output.js',
format: 'esm'
},
plugins: [css({ output: 'bundle.css' })]
plugins: [css({ output: 'output.css' })]
}

0 comments on commit 5a041bd

Please sign in to comment.