We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654380c commit 4829910Copy full SHA for 4829910
packages/scratch-vm/test/unit/engine_adapter.js
@@ -52,8 +52,12 @@ test('create with comment', t => {
52
t.ok(Array.isArray(result));
53
t.equal(result.length, 2);
54
55
+ t.type(result[0].id, 'string');
56
t.type(result[0].comment, 'string');
- t.equal(result[0].comment, 'aCommentId');
57
+
58
+ // as of scratch-blocks@^2, the comment ID is derived from the block ID
59
+ t.equal(result[0].id, 'z!+#Nqr,_(V=xz0y7a@d');
60
+ t.equal(result[0].comment, 'z!+#Nqr,_(V=xz0y7a@d_comment');
61
62
t.end();
63
});
0 commit comments