Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Aug 3, 2024
1 parent 82b7561 commit 693d709
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/units/05_compile.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import * as path from 'path'
import * as sinon from 'sinon'
import { assert, get, has, mock, set, sleep } from './utils'
import { assert, mock } from './utils'
import { lw } from '../../src/lw'
import type { ExternalStep, RecipeStep, Tool } from '../../src/types'
import { queue } from '../../src/compile/queue'

describe(path.basename(__filename).split('.')[0] + ':', () => {
const fixture = path.basename(__filename).split('.')[0]
// const fixture = path.basename(__filename).split('.')[0]

before(() => {
mock.object(lw, 'file', 'root')
Expand Down Expand Up @@ -53,7 +52,7 @@ describe(path.basename(__filename).split('.')[0] + ':', () => {
it('should add a Tool as an ExternalStep to the queue', () => {
queue.add({ name: 'latex', command: 'pdflatex' }, 'main.tex', 'Recipe1', Date.now(), true, '/usr/bin')

const step = queue.getStep() as ExternalStep
const step = queue.getStep()
assert.ok(step)
assert.strictEqual(step.recipeName, 'External')
assert.strictEqual(step.isExternal, true)
Expand Down

0 comments on commit 693d709

Please sign in to comment.