refactor(ci): generalize native smoke tests
Replace the feature-specific MP3 verification command with a workspace-wide native test entry point. Keep native regression cases in package-owned test suites so future checks can expand without adding workflow steps.
This commit is contained in:
6 files changed
+8
-7
No files matched your search
@@ -6,7 +6,7 @@ import { AUDIO_OUT_FORMATS, convertAudioBytes, isAudioOutFormat } from '@snowlum
|
||||
|
||||
// convertAudioBytes is the pure (#165) transcode seam: write input → the
|
||||
// addon's dedicated audio transcoder → read output as base64 → always clean up
|
||||
// temp files. Unit tests inject a fake; audio-transcode-native.test.ts covers
|
||||
// temp files. Unit tests inject a fake; native/audio-transcode.test.ts covers
|
||||
// each bundled release-platform addon in the build matrices.
|
||||
|
||||
const tmpDir = mkdtempSync(path.join(os.tmpdir(), 'sl-audio-test-'));
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ const describeBundledAddon = isReleaseTarget
|
||||
? describe
|
||||
: describe.skip;
|
||||
|
||||
describeBundledAddon('bundled ffmpeg addon', () => {
|
||||
describeBundledAddon('bundled native ffmpeg addon', () => {
|
||||
let tmpDir: string;
|
||||
beforeAll(() => {
|
||||
tmpDir = mkdtempSync(path.join(os.tmpdir(), 'sl-native-audio-test-'));
|
||||
Reference in new issue
Block a user