@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.
package/dist/compiler.d.ts
CHANGED
|
@@ -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
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compile
|
|
3
|
-
} from "./chunk-
|
|
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,
|
|
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",
|