Skip to content

Commit

Permalink
Extract Types and Add Unit tests (#139)
Browse files Browse the repository at this point in the history
* extract datatypes and their unit test

* add covergae to gitignore

* add code coverage to table object

* first test for Pagination

* simplify tests for Table using vue test utils

* Add some tests for Pagination

* simplify paths for types

* fix failing unit test
  • Loading branch information
elevatebart authored and xaksis committed Dec 22, 2017
1 parent a05c72e commit eda029e
Show file tree
Hide file tree
Showing 16 changed files with 482 additions and 128 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ node_modules/
/demos/demo2/dist/
/demos/demo2/package.json
/demos/demo2/webpack.config.js
/test/unit/coverage/

75 changes: 55 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"author": "Akshay Anand",
"license": "MIT",
"dependencies": {
"date-fns": "^2.0.0-alpha.3"
"babel-polyfill": "^6.26.0",
"date-fns": "^2.0.0-alpha.3",
"lodash.foreach": "^4.5.0"
},
"devDependencies": {
"autoprefixer": "^6.7.2",
Expand All @@ -35,7 +37,6 @@
"babel-loader": "^6.2.10",
"babel-plugin-istanbul": "^4.1.1",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.22.0",
Expand Down Expand Up @@ -90,6 +91,7 @@
"vue-loader": "^12.1.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.3.3",
"vue-test-utils": "^1.0.0-beta.8",
"webpack": "^2.6.1",
"webpack-bundle-analyzer": "^2.2.1",
"webpack-dev-middleware": "^1.10.0",
Expand Down
Loading

0 comments on commit eda029e

Please sign in to comment.