We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab2894 commit 86b7851Copy full SHA for 86b7851
README.md
@@ -48,9 +48,15 @@ This creates:
48
Create `scenarios/hello.scenario.ts`:
49
50
```typescript
51
-import { scenario } from "probitas";
+import { scenario, Skip } from "probitas";
52
53
export default scenario("Hello Probitas", { tags: ["example"] })
54
+ .step(() => {
55
+ // Unnamed steps are auto-named as "Step N"
56
+ if (!Deno.env.get("RUN_EXAMPLE")) {
57
+ throw new Skip("Example skipped");
58
+ }
59
+ })
60
.step("Greet", () => {
61
return { message: "Hello, World!" };
62
})
0 commit comments