https://github.com/frlow/estridi
https://github.com/frlow/estridi
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/frlow/estridi
- Owner: frlow
- Created: 2024-02-26T13:55:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T10:06:35.000Z (over 1 year ago)
- Last Synced: 2024-10-29T11:04:27.394Z (over 1 year ago)
- Language: TypeScript
- Size: 2.87 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# estridi
Generate tests from your system design!
## getting started
Installation:
```
npm install estridi
```
### create an access token:
Follow the
instruction [here](https://www.figma.com/developers/api#:~:text=Head%20to%20Settings%20from%20the,and%20scopes%20for%20the%20token.)
to create an access token.
### file id
The file id can be found by right clicking on the current tab in figma and selecting copy link
```
https://www.figma.com/file/Izz9320atTsGRKo1AjiuxZ/S3D---Register-Foreign-Payment-Draft?type=whiteboard&node-id=0-1&t=kSN8UTu38sCP8L0s-0
/This is the fileId /
```
### create a config file:
```json5
// estridi.json
{
"token": "",
"fileId": "",
"mode": ""
// playwright or vitest
}
```
### Generate files
```
npx estridi
```