Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
monolithed committed Oct 18, 2016
1 parent 4238636 commit 4358890
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},

"scripts": {
"test": "mocha --full-trace --ui tdd index.js tests/index.js",
"test": "npm run webpack && npm run mocha",
"mocha": "mocha --full-trace --ui tdd index.js tests/index.js",
"webpack": "webpack --progress --display-error-details --config tests/config.js"
},

Expand Down
2 changes: 1 addition & 1 deletion tests/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = [
{
entry: './tests/index.css',
entry: './tests/fixtures/index.css',

output: {
path: './tests/assets',
Expand Down
File renamed without changes.
File renamed without changes
8 changes: 8 additions & 0 deletions tests/fixtures/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@font-face {
font-family: 'icons';
src: url('./fonts/material.woff');
}

body {
background-image: url('./icons/16x16.png');
}
8 changes: 0 additions & 8 deletions tests/index.css

This file was deleted.

0 comments on commit 4358890

Please sign in to comment.