Skip to content

Commit

Permalink
fix: 去掉 log 信息
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed Nov 4, 2020
1 parent c705b7b commit 8d7ffb5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion __tests__/unit/plots/dual-axes/default-options-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ describe('default options', () => {
});

dualAxes.render();
console.log(dualAxes.chart.getComponents());
// @ts-ignore
expect(dualAxes.chart.getScaleByField('date').sync).toBeTruthy();
expect(dualAxes.chart.getScaleByField('date').range.length).toBe(2);
Expand Down
1 change: 0 additions & 1 deletion __tests__/unit/plots/gauge/index-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ describe('gauge', () => {
});

gauge.render();
console.log(gauge.chart.views[1].getYScales());
// @ts-ignore
expect(gauge.chart.views[1].getYScales()[0].ticks).toEqual([0, 0.25, 0.5, 0.75, 1]);
expect(gauge.chart.views.length).toBe(2);
Expand Down
1 change: 0 additions & 1 deletion scripts/manual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const excludeFilesPath = ['gallery']; // 不处理的路径
const includeFiles = ['API.zh.md', 'API.en.md'];

const apiGenerator = (sourcePath, targetPath, titlePath) => {
console.log(sourcePath, targetPath);
// 内容不多,同步读取即可
const titleInfo = fs.readFileSync(titlePath, 'utf-8');
fs.writeFileSync(targetPath, `${titleInfo}\n`, { encoding: 'utf-8' });
Expand Down

0 comments on commit 8d7ffb5

Please sign in to comment.