Skip to content

Commit

Permalink
fix(@xen-orchestra/fs): create local test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
b-Nollet committed Nov 13, 2024
1 parent 02f34c1 commit 6c613c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions @xen-orchestra/fs/src/fs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { strict as assert } from 'assert'

import 'dotenv/config'
import { forOwn, random } from 'lodash'
import { tmpdir } from 'os'

import { getHandler } from '.'

Expand Down Expand Up @@ -34,7 +33,7 @@ const rejectionOf = p =>
reason => reason
)

const handlers = [`file://${tmpdir()}`]
const handlers = [`file://${__dirname}`]
if (process.env.xo_fs_nfs) handlers.push(process.env.xo_fs_nfs)
if (process.env.xo_fs_smb) handlers.push(process.env.xo_fs_smb)

Expand Down

0 comments on commit 6c613c1

Please sign in to comment.