mirror of
https://github.com/google/blockly.git
synced 2026-01-13 11:57:10 +01:00
fix: lint?
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"globals": {
|
||||
"chai": false,
|
||||
"sinon": false,
|
||||
"sinon": false
|
||||
},
|
||||
"rules": {
|
||||
"no-unused-vars": ["off"],
|
||||
|
||||
@@ -182,4 +182,4 @@ function createRenderedBlock(workspaceSvg, type) {
|
||||
block.render();
|
||||
return block;
|
||||
}
|
||||
exports.createRenderedBlock = createRenderedBlock;
|
||||
exports.createRenderedBlock = createRenderedBlock;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable valid-jsdoc */
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
@@ -114,4 +115,4 @@ const runCodeGenerationTestSuites = (testSuites) => {
|
||||
|
||||
runTestSuites(testSuites, createTestFn);
|
||||
};
|
||||
exports.runCodeGenerationTestSuites = runCodeGenerationTestSuites;
|
||||
exports.runCodeGenerationTestSuites = runCodeGenerationTestSuites;
|
||||
|
||||
@@ -201,4 +201,4 @@ function assertNthCallEventArgEquals(spy, n, instanceType, expectedProperties,
|
||||
const eventArg = nthCall.firstArg;
|
||||
assertXmlProperties_(eventArg, xmlProperties);
|
||||
}
|
||||
exports.assertNthCallEventArgEquals = assertNthCallEventArgEquals;
|
||||
exports.assertNthCallEventArgEquals = assertNthCallEventArgEquals;
|
||||
|
||||
@@ -22,4 +22,4 @@ function assertVariableValues(container, name, type, id) {
|
||||
chai.assert.equal(variable.type, type);
|
||||
chai.assert.equal(variable.getId(), id);
|
||||
}
|
||||
exports.assertVariableValues = assertVariableValues;
|
||||
exports.assertVariableValues = assertVariableValues;
|
||||
|
||||
@@ -71,4 +71,4 @@ function assertSingleDeprecationWarningCall(spy, functionName) {
|
||||
sinon.assert.calledOnce(spy);
|
||||
assertDeprecationWarningCall(spy.getCall(0), functionName);
|
||||
}
|
||||
exports.assertSingleDeprecationWarningCall = assertSingleDeprecationWarningCall;
|
||||
exports.assertSingleDeprecationWarningCall = assertSingleDeprecationWarningCall;
|
||||
|
||||
Reference in New Issue
Block a user