Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.22 KB

Disunity Mod Manager

Disunity Mod Manager for Unity games

How to install

  • git clone https://github.com/disunity-hq/mod-manager.git
  • yarn

How to run

Development version

  • yarn dev Initiates a local webserver and fires up electron.

Packaged version

  • yarn build Outputs a build to the projectdir/build/ folder

Testing

Running the Test Suite

  • yarn test [--collect-coverage] Runs all structrual and interaction tests. Optionally accepts the ---collect-coverage flag to generate code coverage report

Extra Tools

Storybook

  • Run yarn storybook to launch storybook.

In order to create a new story, simply create a *.stories.tsx file in the /src/stories/ folder. You can take a look at the test.stories.tsx file provided and the storybook docs for more information.

Snapshot Testing

This project is configured with storyshot to create jest snapshots for all the stories automatically. Snapshots are a way to verify the the structure of the rendered components don't change between updating code. If a change is desired you can simply run yarn test -u. The -u flag tells jest to update the snapshots