Skip to content

Commit 95e438b

Browse files
committed
Fix some typos on test file names
1 parent 752c15f commit 95e438b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

src/utils/process.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function execp(command, cwd = null) {
2929
* @param {String} command command name
3030
* @param {string} args command arguments
3131
* @param {String} cwd working directory to run the commad
32+
* @return {Promise}
3233
*/
3334
async function spawnp(command, args, cwd) {
3435
const proc = spawn(command, args, {
@@ -50,6 +51,10 @@ async function spawnp(command, args, cwd) {
5051
});
5152
}
5253

54+
/**
55+
* Utilities for processes
56+
* @module utils.process
57+
*/
5358
module.exports = {
5459
execp,
5560
spawnp,

test/unit-tests/settings/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const should = require('chai').should();
33
const settings = require('../../../src/settings');
44

55
describe('Settings management', () => {
6-
const filePath = 'test/unit-tests/auth/test-settings.json';
6+
const filePath = 'test/unit-tests/settings/test-settings.json';
77

88
before('load settings data', async () => {
99
await settings.load(filePath);
File renamed without changes.

test/unit-tests/utils/files.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const should = chai.should();
1010
const utils = require('../../../src/utils');
1111

1212
describe('Utils for files', () => {
13-
const jsonPath = 'test/unit-tests/settings/test-auth.json';
13+
const jsonPath = 'test/unit-tests/settings/test-settings.json';
1414
const otherFile = 'test/unit-tests/utils/file.txt';
1515
const tempFolder = path.resolve(path.join(os.homedir(), 'temp'));
1616
const testFolder = path.resolve(path.join(os.homedir(), 'temp', 'project'));

0 commit comments

Comments
 (0)