mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
* test: remove low-value build and packaging test inventories * ci: retire removed dependency resolution suite invocation --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
11 lines
393 B
JavaScript
11 lines
393 B
JavaScript
import { describe, expect, it, vi } from 'vitest'
|
|
import { runAuditTool } from './run-audit-tool.mjs'
|
|
|
|
describe('locked audit tool execution', () => {
|
|
it('rejects an unknown executable before installing anything', () => {
|
|
const run = vi.fn()
|
|
expect(() => runAuditTool('../arbitrary-package', [], { run })).toThrow('Unknown audit tool')
|
|
expect(run).not.toHaveBeenCalled()
|
|
})
|
|
})
|