Skip to content

Commit

Permalink
test(config): fix temporary path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuki31 committed Aug 27, 2024
1 parent a63d067 commit e6a5638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unittest/config.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import fs from 'node:fs';
import path from 'node:path';

import config from '../../lib/config.js';
import utils from '../../lib/utils.js';

describe('module:config', function () {
const testMessages = {
importConfig: [
'should parse and resolve the given configuration file'
]
};
const tempFile = path.join('tmp', 'tempTestConfig.json');
const tempFile = path.join(utils.ROOTDIR, 'tmp', 'tempTestConfig.json');
const configObj = {
downloadOptions: {
cwd: null,
Expand Down

0 comments on commit e6a5638

Please sign in to comment.