Skip to content

Commit 0e88b26

Browse files
committed
Fix failed test cases
1 parent b7caf5d commit 0e88b26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('G-code Toolpath', () => {
3434

3535
new GCodeToolpath()
3636
.loadFromFile(file, (err, results) => {
37-
expect(err).to.be.okay;
37+
expect(err).to.be.null;
3838
done();
3939
})
4040
.on('data', (data) => {
@@ -51,7 +51,7 @@ describe('G-code Toolpath', () => {
5151

5252
new GCodeToolpath()
5353
.loadFromStream(stream, (err, results) => {
54-
expect(err).to.be.okay;
54+
expect(err).to.be.null;
5555
done();
5656
})
5757
.on('data', (data) => {
@@ -68,7 +68,7 @@ describe('G-code Toolpath', () => {
6868

6969
new GCodeToolpath()
7070
.loadFromString(string, (err, results) => {
71-
expect(err).to.be.okay;
71+
expect(err).to.be.null;
7272
done();
7373
})
7474
.on('data', (data) => {

0 commit comments

Comments
 (0)