Skip to content

Commit 448edb6

Browse files
author
Dennis Labordus
committed
Review comments.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 7f9683a commit 448edb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/editors/protocol104/foundation/actions.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('foundation', () => {
5151
'ACT',
5252
'30'
5353
);
54-
expect(actions.length).to.be.equals(0);
54+
expect(actions).to.be.empty;
5555
expect(actionEvent).to.have.not.been.called;
5656
});
5757

@@ -62,7 +62,7 @@ describe('foundation', () => {
6262
'58'
6363
);
6464
expect(actions.length).to.be.equals(1);
65-
expect(actionEvent).to.have.been.callCount(1);
65+
expect(actionEvent).to.have.been.calledOnce;
6666
});
6767

6868
it('returns a multiple address create action', () => {
@@ -102,7 +102,7 @@ describe('foundation', () => {
102102
'ISC',
103103
'62'
104104
);
105-
expect(actions.length).to.be.equals(0);
105+
expect(actions).to.be.empty;
106106
expect(actionEvent).to.have.not.been.called;
107107
});
108108

@@ -113,7 +113,7 @@ describe('foundation', () => {
113113
'59'
114114
);
115115
expect(actions.length).to.be.equals(1);
116-
expect(actionEvent).to.have.been.callCount(2);
116+
expect(actionEvent).to.have.been.calledTwice;
117117
});
118118
});
119119
});

0 commit comments

Comments
 (0)