Skip to content

Commit

Permalink
Update expression-test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz committed Feb 14, 2024
1 parent edac7e6 commit f09c712
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions darc-js/tests/expression-test/expression-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ describe('expression node basic test', () => {
votingRuleIndex: BigNumber.from(0),
notes: "disable all program",
bIsEnabled: true,
bIsInitialized: true,
bIsBeforeOperation: true,
conditionNodes:[{
id: BigNumber.from(0),
Expand All @@ -89,7 +88,6 @@ describe('expression node basic test', () => {
votingRuleIndex: BigInt(0),
notes: "allow operatorAddress == target1 | operatorAddress == target2",
bIsEnabled: true,
bIsInitialized: true,
bIsBeforeOperation: true,
conditionNodes:
or(
Expand Down Expand Up @@ -211,7 +209,6 @@ describe('expression node basic test', () => {
votingRuleIndex: BigInt(0),
notes: "allow operatorAddress == target1 | operatorAddress == target2",
bIsEnabled: true,
bIsInitialized: true,
bIsBeforeOperation: true,
conditionNodes:
or(
Expand Down Expand Up @@ -258,7 +255,6 @@ describe('expression node basic test', () => {
votingRuleIndex: BigNumber.from(0),
notes: "disable all program",
bIsEnabled: true,
bIsInitialized: true,
bIsBeforeOperation: true,
conditionNodes: new TRUE() // always true
},
Expand All @@ -268,7 +264,6 @@ describe('expression node basic test', () => {
votingRuleIndex: BigInt(0),
notes: "allow operatorAddress == target1 | operatorAddress == target2",
bIsEnabled: true,
bIsInitialized: true,
bIsBeforeOperation: true,
conditionNodes:
operator_address_equals(target1) | operator_address_equals(target2)
Expand Down

0 comments on commit f09c712

Please sign in to comment.