We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e081d41 commit 325ec8eCopy full SHA for 325ec8e
1 file changed
tests/test-team/helpers/db/letter-variant-storage-helper.ts
@@ -119,6 +119,10 @@ export class LetterVariantStorageHelper {
119
}
120
121
public async createLetterVariant(variant: LetterVariant) {
122
+ if (!variant.clientId) {
123
+ throw new Error('Do not create ad-hoc global letter variants in tests.');
124
+ }
125
+
126
await Promise.all([
127
this.dynamo.send(
128
new PutCommand({
0 commit comments