@researchgate/snapshotkeeper
v4.0.3
Published
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
Downloads
12
Keywords
Readme
snapshotkeeper
CLI tool for BitBucket Server for maintaining test snapshots in flaky environments.
Usage
# Install `snapshotkeeper`
yarn global add @researchgate/snapshotkeeper
# Prepare to update flaky snapshots
yarn snapshotkeeper-prepare
# Run your tests with `--updateSnapshot` flag
yarn test --updateSnapshot
# Upload changed snapshots
yarn snapshotkeeper-upload