Fix lint warnings (#289)

This commit is contained in:
Adam Chalmers
2023-08-18 17:14:35 -05:00
committed by GitHub
parent 6ea3a37e8a
commit a8d23f5c0d
16 changed files with 8 additions and 31 deletions

View File

@ -134,7 +134,6 @@ show(mySketch001)`
describe('testing addNewSketchLn', () => {
const lineToChange = 'lineTo([-1.59, -1.54], %)'
const lineAfterChange = 'lineTo([2, 3], %)'
test('addNewSketchLn', async () => {
// Enable rotations #152
const code = `
@ -146,6 +145,7 @@ show(mySketch001)`
const ast = parser_wasm(code)
const programMemory = await enginelessExecutor(ast)
const sourceStart = code.indexOf(lineToChange)
expect(sourceStart).toBe(66)
const { modifiedAst } = addNewSketchLn({
node: ast,
programMemory,