We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f70c9c commit 978b2f9Copy full SHA for 978b2f9
1 file changed
test/index.js
@@ -81,6 +81,14 @@ describe('gcode-parser', () => {
81
expect(data.cmds).to.deep.equal(['%wait']);
82
}
83
84
+ { // %wait ; Wait for the planner queue to empty
85
+ const data = parseLine('%wait ; Wait for the planner queue to empty');
86
+ expect(data).to.be.an('object');
87
+ expect(data.line).to.be.an('string');
88
+ expect(data.words).to.be.empty;
89
+ expect(data.cmds).to.deep.equal(['%wait ; Wait for the planner queue to empty']);
90
+ }
91
+
92
{ // %msg Restart spindle
93
const data = parseLine('%msg Restart spindle');
94
expect(data).to.be.an('object');
0 commit comments