We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ff3fb7 commit e2819b3Copy full SHA for e2819b3
packages/@aws-cdk/integ-tests/lib/assertions/providers/lambda-handler/types.ts
@@ -122,6 +122,21 @@ export interface AssertionResult {
122
readonly failed?: boolean;
123
}
124
125
+/**
126
+ * The status of the assertion
127
+ */
128
+export enum Status {
129
+ /**
130
+ * The assertion passed
131
132
+ PASS = 'pass',
133
+
134
135
+ * The assertion failed
136
137
+ FAIL = 'fail',
138
+}
139
140
/**
141
* The result of an assertion
142
*/
@@ -130,7 +145,7 @@ export interface AssertionResultData {
145
* The status of the assertion, i.e.
146
* pass or fail
147
- readonly status: 'pass' | 'fail'
148
+ readonly status: Status;
149
150
151
* Any message returned with the assertion result
0 commit comments