Skip to content

Commit

Permalink
fix: 🐛 修改mock请求时间
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Dec 18, 2022
1 parent 7cb8661 commit 721bd47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs');
const path = require('path');
const { execSync } = require('child_process');

const scopes = fs.readdirSync(path.resolve(__dirname, 'src'));
const scopes = fs.readdirSync(path.resolve(__dirname, 'src')).map((i) => i.toLowerCase());

const gitStatus = execSync('git status --porcelain || true').toString().trim().split('\n');

Expand Down
2 changes: 1 addition & 1 deletion mock/demo/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const adminRoute = [
export default [
{
url: '/mock_api/getRoute',
timeout: 3000,
timeout: 0,
method: 'post',
response: ({ body }: { body: Recordable }) => {
const { name } = body;
Expand Down

0 comments on commit 721bd47

Please sign in to comment.