'use strict'; const assert = require('node:assert/strict'); /** * 创建旧系统方法测试上下文。 * * @return {{ moduleExport: undefined }} 测试上下文。 */ function createHarness() { return { moduleExport: require('../../../../../app/service/systemMethods/order/storageAllocation'), }; } describe('test/app/service/systemMethods/order/storageAllocation.test.js', () => { it('should not export the legacy storage allocation method service anymore', () => { const { moduleExport } = createHarness(); assert.equal(moduleExport, undefined); }); });