Skip to content

Commit

Permalink
なんとかした
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p committed Nov 15, 2023
1 parent 98a1cad commit 19b2870
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"source.fixAll.stylelint": "explicit"
},
"cSpell.words": [
"libsodium",
"swcrc"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"fmt": "prettier --config ./.prettierrc --list-different \"src/**/*.{js,json,ts,tsx,css,md}\"",
"fmt:fix": "yarn fmt --write",
"test": "vitest src/",
"test:coverage": "vitest src/ --coverage"
"test:coverage": "vitest src/ --coverage --silent"
},
"keywords": [],
"author": "",
Expand Down
4 changes: 3 additions & 1 deletion src/features/others/log/internal/log.func.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import type { SpyInstance } from 'vitest';

import { chalk } from '@/features/library/index.js';

import { log } from './log.func.js';

describe('log', () => {
let mockStdout: vi.SpyInstance;
let mockStdout: SpyInstance;
const originalConsoleLog = console.log;

beforeEach(() => {
Expand Down
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@
"src/utils/*"
]
},
"types": [
"vitest/globals"
]
},
"include": [
"src",
"node_modules/vitest/globals.d.ts",
"vite.config.ts"
],
}
}

0 comments on commit 19b2870

Please sign in to comment.