Undo kclSamplesInputPath approach.

Instead, just add a second reliable executor input file to use.
This commit is contained in:
Frank Noirot
2025-03-21 12:12:45 -04:00
parent e6c060c410
commit a3b6da03d3
8 changed files with 24 additions and 27 deletions

View File

@ -2,7 +2,7 @@ import { test, expect } from './zoo-test'
import {
orRunWhenFullSuiteEnabled,
getUtils,
kclSamplesInputPath,
executorInputPath,
} from './test-utils'
import { join } from 'path'
import { bracket } from 'lib/exampleKcl'
@ -250,11 +250,11 @@ test(
])
await Promise.all([
fsp.copyFile(
kclSamplesInputPath(['ball-bearing', 'main.kcl']),
executorInputPath('cylinder-inches.kcl'),
join(routerTemplateDir, 'main.kcl')
),
fsp.copyFile(
kclSamplesInputPath(['flange', 'main.kcl']),
executorInputPath('e2e-can-sketch-on-chamfer.kcl'),
join(bracketDir, 'main.kcl')
),
])