@ripplo/testing 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,7 @@ function compileTest(def) {
40
40
  additionalChecks: [],
41
41
  description: def.description,
42
42
  expectedOutcome: def.expectedOutcome,
43
+ implemented: def.implemented,
43
44
  name: def.name,
44
45
  slug,
45
46
  spec,
@@ -12,6 +12,7 @@ interface CompiledTest {
12
12
  readonly additionalChecks: ReadonlyArray<string>;
13
13
  readonly description: string;
14
14
  readonly expectedOutcome: string;
15
+ readonly implemented: boolean;
15
16
  readonly name: string;
16
17
  readonly slug: string;
17
18
  readonly spec: WorkflowSpec;
package/dist/compiler.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  compile
3
- } from "./chunk-X2FROZPN.js";
3
+ } from "./chunk-GTHRSFXF.js";
4
4
  import "./chunk-MGATMMCZ.js";
5
5
  export {
6
6
  compile
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  compile
3
- } from "./chunk-X2FROZPN.js";
3
+ } from "./chunk-GTHRSFXF.js";
4
4
  import "./chunk-MGATMMCZ.js";
5
5
  import {
6
6
  buildSetCookieHeader,
@@ -413,7 +413,10 @@ function assertMatchesOutcome(nodes, _test, report) {
413
413
  });
414
414
  }
415
415
  }
416
- function noEmptySteps(nodes, _test, report) {
416
+ function noEmptySteps(nodes, test, report) {
417
+ if (!test.implemented) {
418
+ return;
419
+ }
417
420
  if (nodes.length === 0) {
418
421
  report({
419
422
  message: "Test has zero steps",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ripplo/testing",
3
3
  "description": "TypeScript DSL for defining and running Ripplo e2e workflow tests",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"