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 bf4a613 commit 30d9d17Copy full SHA for 30d9d17
templates/javascript/tests/client/tests.mustache
@@ -12,6 +12,7 @@ describe('{{testType}}', () => {
12
{{/times}}
13
{{#isError}}
14
try {
15
+ // @ts-ignore
16
{{#dynamicTemplate}}{{/dynamicTemplate}}
17
throw new Error('test is expected to throw error');
18
} catch(e) {
@@ -39,7 +40,7 @@ describe('{{testType}}', () => {
39
40
expect(result).toEqual("{{{match.value}}}");
41
{{/match.isString}}
42
{{^match.isString}}
- expect(result).toEqual({{{match.value}}});
43
+ expect(result).toEqual({{^match.isNull}}{{{match.value}}}{{/match.isNull}}{{#match.isNull}}null{{/match.isNull}});
44
45
{{/match.isPrimitive}}
46
{{^match.isPrimitive}}
0 commit comments