mirror of
https://github.com/google/blockly.git
synced 2026-01-14 04:17:10 +01:00
fix: undo accidental rename
This commit is contained in:
@@ -38,7 +38,7 @@ suite('Test Node.js', function() {
|
||||
const headlessXml = Blockly.Xml.workspaceToDom(workspace, true);
|
||||
const headlessText = Blockly.Xml.domToPrettyText(headlessXml);
|
||||
|
||||
chai.assert.equal(headlessText, xmlText, 'equal');
|
||||
assert.equal(headlessText, xmlText, 'equal');
|
||||
});
|
||||
test('Generate Code', function() {
|
||||
const xml = Blockly.Xml.textToDom(xmlText);
|
||||
@@ -51,7 +51,7 @@ suite('Test Node.js', function() {
|
||||
const code = Blockly.JavaScript.workspaceToCode(workspace);
|
||||
|
||||
// Check output
|
||||
chai.assert.equal('window.alert(\'Hello from Blockly!\');', code.trim(), 'equal');
|
||||
assert.equal('window.alert(\'Hello from Blockly!\');', code.trim(), 'equal');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user