We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60ffa54 commit 1a9c0b7Copy full SHA for 1a9c0b7
1 file changed
source/js/conditions/condition/nullCondition.test.ts
@@ -0,0 +1,18 @@
1
+import { describe, expect, it } from '@jest/globals';
2
+import NullCondition from './nullCondition';
3
+
4
+describe('Null Condition', () => {
5
+ const nullCondition = new NullCondition();
6
7
+ it('getConditionFieldNames() returns an empty array', () => {
8
+ expect(nullCondition.getConditionFieldNames()).toEqual([]);
9
+ });
10
11
+ it('getConditions() returns an empty array', () => {
12
+ expect(nullCondition.getConditions()).toEqual([]);
13
14
15
+ it('validate() returns true', () => {
16
+ expect(nullCondition.validate()).toEqual(true);
17
18
+});
0 commit comments