Ran
|
Files
1
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/frictionlessdata/datapackage-js/commit/<a class=hub.com/frictionlessdata/datapackage-js/commit/34f6de25e4f5c9c1ec462f2bbe63129e3f48c2a2">34f6de25e<a href="https://github.com/frictionlessdata/datapackage-js/commit/34f6de25e4f5c9c1ec462f2bbe63129e3f48c2a2">">Added Resource class (#10) * Remove tests * Copy jsontableschema-js skeleton * Add .idea/ * Use jsontableschema-js scripts and deps * Update template, add badges, add note about the API changes * Add testing data previously found in test/fixtures #</a><a class="double-link" href="https://github.com/frictionlessdata/datapackage-js/commit/<a class="double-link" href="https://github.com/frictionlessdata/datapackage-js/commit/6366ce930b9085081b3ff275fb3af65a0829cff6">6366ce930</a>">6366ce930</a><a href="https://github.com/frictionlessdata/datapackage-js/commit/34f6de25e4f5c9c1ec462f2bbe63129e3f48c2a2"> * Stub code for passing the tests * Add babel and mocha configs * Stub test * Stub index for the build scripts * Add lodash as dependency * Add jts and nock as dependencies * Initial Resource implementation * Initial tests for the Resource implementation * Use js getters * Rename _getResourceField to _getSourceKey * Use the source getter in get table * Add transform-async-to-generator * Use await instead of then on resource.table * Add docstrings * Add babel-plugin-transform-async-to-generator * Add tests that work on dp1 from data/ * table getter discards errors and resolves in null, make sourceKey getter * Add test to make resource.table resolves in null * Add test for resource.table with csv file * Move test data to test directory * Move test data to data/ directory * Rename sourceKey to _sourceKey, reject rejected jts.Table with null * Test on actual data from csv file, expect rejected table to be null * Add simple caching for jts.Table and make it resolve to null on errors * Expect table promise to resolve to null on errors
28 of 28 relevant lines covered (100.0%)
6.21 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|