This commit is contained in:
2026-10-22 11:56:47 +08:00
parent 5d71af1ac9
commit de96e47d74
71 changed files with 1296 additions and 332 deletions
@@ -1,6 +1,11 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import { run } from './dropship-mixed-palletization.mjs'
test('single fixed customer blocks before first order or measurement', async () => {
await assert.rejects(run({ options: { fixedCustomerId: '123' } }), /停止下单和测量造数/)
})
const source = readFileSync(new URL('./dropship-mixed-palletization.mjs', import.meta.url), 'utf8')
const orders = readFileSync(new URL('./orders.mjs', import.meta.url), 'utf8')