Skip to content

Commit

Permalink
test: add pinning test to check files in package (visjs#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomaash authored May 30, 2020
1 parent d82a282 commit b794887
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ jobs:
- persist_to_workspace:
root: .
paths:
- 'declarations'
- 'dist'
- 'esnext'
- 'peer'
- 'standalone'
- 'styles'
- 'types'

examples:
executor: node
Expand Down Expand Up @@ -160,6 +162,7 @@ workflows:
- test:
requires:
- prepare
- build

- gh_pages:
requires:
Expand Down
87 changes: 87 additions & 0 deletions __snapshots__/package.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
exports['Package Exported files 1'] = {
"name": "vis-timeline ",
"files": [
" HISTORY.md",
" LICENSE.Apache-2.0.txt",
" LICENSE.MIT.txt",
" LICENSE.md",
" README.md",
" declarations/entry-esnext.d.ts",
" declarations/entry-peer.d.ts",
" declarations/entry-standalone.d.ts",
" declarations/index.d.ts",
" dist/types/entry-esnext.d.ts",
" dist/types/entry-peer.d.ts",
" dist/types/entry-standalone.d.ts",
" dist/types/index.d.ts",
" dist/vis-timeline-graph2d.css",
" dist/vis-timeline-graph2d.esm.js",
" dist/vis-timeline-graph2d.esm.js.map",
" dist/vis-timeline-graph2d.min.css",
" dist/vis-timeline-graph2d.min.js",
" dist/vis-timeline-graph2d.min.js.map",
" esnext/esm/index.d.ts",
" esnext/esm/index.js",
" esnext/esm/vis-timeline-graph2d.d.ts",
" esnext/esm/vis-timeline-graph2d.js",
" esnext/esm/vis-timeline-graph2d.js.map",
" esnext/esm/vis-timeline-graph2d.min.d.ts",
" esnext/esm/vis-timeline-graph2d.min.js",
" esnext/esm/vis-timeline-graph2d.min.js.map",
" esnext/index.d.ts",
" esnext/index.js",
" esnext/umd/index.d.ts",
" esnext/umd/index.js",
" esnext/umd/vis-timeline-graph2d.d.ts",
" esnext/umd/vis-timeline-graph2d.js",
" esnext/umd/vis-timeline-graph2d.js.map",
" esnext/umd/vis-timeline-graph2d.min.d.ts",
" esnext/umd/vis-timeline-graph2d.min.js",
" esnext/umd/vis-timeline-graph2d.min.js.map",
" package.json",
" peer/esm/index.d.ts",
" peer/esm/index.js",
" peer/esm/vis-timeline-graph2d.d.ts",
" peer/esm/vis-timeline-graph2d.js",
" peer/esm/vis-timeline-graph2d.js.map",
" peer/esm/vis-timeline-graph2d.min.d.ts",
" peer/esm/vis-timeline-graph2d.min.js",
" peer/esm/vis-timeline-graph2d.min.js.map",
" peer/index.d.ts",
" peer/index.js",
" peer/umd/index.d.ts",
" peer/umd/index.js",
" peer/umd/vis-timeline-graph2d.d.ts",
" peer/umd/vis-timeline-graph2d.js",
" peer/umd/vis-timeline-graph2d.js.map",
" peer/umd/vis-timeline-graph2d.min.d.ts",
" peer/umd/vis-timeline-graph2d.min.js",
" peer/umd/vis-timeline-graph2d.min.js.map",
" standalone/esm/index.d.ts",
" standalone/esm/index.js",
" standalone/esm/vis-timeline-graph2d.d.ts",
" standalone/esm/vis-timeline-graph2d.js",
" standalone/esm/vis-timeline-graph2d.js.map",
" standalone/esm/vis-timeline-graph2d.min.d.ts",
" standalone/esm/vis-timeline-graph2d.min.js",
" standalone/esm/vis-timeline-graph2d.min.js.map",
" standalone/index.d.ts",
" standalone/index.js",
" standalone/umd/index.d.ts",
" standalone/umd/index.js",
" standalone/umd/vis-timeline-graph2d.d.ts",
" standalone/umd/vis-timeline-graph2d.js",
" standalone/umd/vis-timeline-graph2d.js.map",
" standalone/umd/vis-timeline-graph2d.min.d.ts",
" standalone/umd/vis-timeline-graph2d.min.js",
" standalone/umd/vis-timeline-graph2d.min.js.map",
" styles/vis-timeline-graph2d.css",
" styles/vis-timeline-graph2d.css.map",
" styles/vis-timeline-graph2d.min.css",
" styles/vis-timeline-graph2d.min.css.map",
" types/entry-esnext.d.ts",
" types/entry-peer.d.ts",
" types/entry-standalone.d.ts",
" types/index.d.ts"
]
}
Loading

0 comments on commit b794887

Please sign in to comment.