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 64eb7ca commit 34106e3Copy full SHA for 34106e3
app-config-extensions/src/index.test.ts
@@ -1108,4 +1108,18 @@ describe('extension combinations', () => {
1108
fellBack: true,
1109
});
1110
1111
+
1112
+ it('combines $if and $eq', async () => {
1113
+ const source = new LiteralSource({
1114
+ $if: {
1115
+ $check: {
1116
+ $eq: ['foo', 'foo'],
1117
+ },
1118
+ $then: 'foo',
1119
+ $else: 'bar',
1120
1121
+ });
1122
1123
+ await expect(source.readToJSON([ifDirective(), eqDirective()])).resolves.toEqual('foo');
1124
1125
0 commit comments