knighn drift
Compare a project's frames with their visual test baselines (*.knighn.spec.ts)
knighn drift [options] [FOLDER]
| Argument | What it is |
|---|---|
FOLDER |
The project folder. |
| Option | What it does | Default |
|---|---|---|
-u, --url <url> |
A dev server that runs already, such as http://localhost:3000. | |
--update |
Write every baseline again. | |
--strict |
Fail a frame with no baseline (else it is written) | |
-f, --filter <filter> |
Only specs whose file or test name has this text. | |
--app <app> |
In a monorepo, the app folder to start. | |
--json |
Output as JSON. |