Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit 7f02c9a

Browse files
authored
added instructions for how to update snapshots (#195)
* added how to update snapshots instructions Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
1 parent c8b02ba commit 7f02c9a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ Linting is set up using solium. To run it over your code execute `yarn run lint`
2828

2929
### Permissioning Management Dapp
3030

31+
The Dapp will facilitate managing permissioning rules and maintaining the list of admin accounts that can edit rules.
32+
3133
Note: if you want to run against Besu, follow the Besu docs.
3234

3335
ONLY use these instructions if you are doing development work on the Dapp itself, in which case connecting to a development server (Ganache) will enable faster development.
3436

35-
The Dapp will facilitate managing permissioning rules and maintaining the list of admin accounts that can edit rules.
36-
3737
This is the easiest way to get started for development with the permissioning Dapp:
3838

3939
#### Compile and migrate the contracts (Development mode) ####
@@ -50,6 +50,11 @@ This is the easiest way to get started for development with the permissioning Da
5050
1. Navigate to `http://localhost:3000` to access the Permissioning Dapp.
5151
1. All changes made to the smart contracts or to the Dapp code are automatically refreshed on the website. There is no need to restart the web server after making changes.
5252

53+
#### Snapshots ####
54+
Snapshots are compared as part of the test suite, to check any changes made to the Dapp are sensible. If you change the Dapp, you also need to update the snapshots.
55+
1. `yarn jest -u`
56+
1. or if using npm: `npm run test:app -- -u`
57+
5358
#### Build the permissioning Dapp for deployment ####
5459

5560
1. [Compile and migrate the contracts](#compile-and-migrate-the-contracts)

0 commit comments

Comments
 (0)