优化
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user