We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
XDG_CONFIG_HOME
1 parent cb0f562 commit 4af9545Copy full SHA for 4af9545
test/index.test.ts
@@ -1,9 +1,7 @@
1
import { describe, test, expect } from 'vitest'
2
import { write, read, readUser, parse, update, updateUser, writeUser } from '../src'
3
4
-// jest.mock('os', () => ({
5
-// homedir: () => __dirname
6
-// }))
+process.env.XDG_CONFIG_HOME = __dirname
7
8
const config = {
9
db: {
0 commit comments