|
@@ -112,7 +112,7 @@ describe('test/app/lib/analysis_excel.test.js', () => {
|
|
|
it('Analysis Excel Test Data And Import', function* () {
|
|
|
const ctx = app.mockContext(mockData);
|
|
|
|
|
|
- const excelFile = app.baseDir + '/app/public/files/template/ledger/导入分项清单Excel格式.xls';
|
|
|
+ const excelFile = app.baseDir + '/test/app/test_file/导入分项清单Excel格式.xls';
|
|
|
const wb = Xlsx.readFile(excelFile);
|
|
|
const name = wb.SheetNames[0];
|
|
|
const sheetData = {
|
|
@@ -132,7 +132,7 @@ describe('test/app/lib/analysis_excel.test.js', () => {
|
|
|
it('analysis 渭武12标 Excel', function* () {
|
|
|
const ctx = app.mockContext(mockData);
|
|
|
|
|
|
- const excelFile = app.baseDir + '/app/public/files/template/ledger/渭武12标.xls';
|
|
|
+ const excelFile = app.baseDir + '/test/app/test_file/渭武12标.xls';
|
|
|
const wb = Xlsx.readFile(excelFile);
|
|
|
const name = wb.SheetNames[0];
|
|
|
const sheetData = {
|