Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
fix: testing and linting on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 11, 2021
1 parent 02f6021 commit a906fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dev-scripts/bin/sf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
*/

const shell = require('../utils/shelljs');

const packageRoot = require('../utils/package-path');
const { resolveConfig } = require('../utils/sf-config');

const nyc = require.resolve('nyc/bin/nyc');
const mocha = require.resolve('mocha/bin/mocha');

const config = resolveConfig(packageRoot);
const testConfig = config.test || {};
const includes = testConfig.testsPath || '**/*.test.ts';

const command = `${nyc} mocha "${includes}"`;
const command = `node ${nyc} ${mocha} "${includes}"`;

try {
shell.exec(command, {
Expand Down
1 change: 1 addition & 0 deletions packages/prettier-config/prettier-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
singleQuote: true,
printWidth: 120,
endOfLine: 'auto',
};

0 comments on commit a906fb8

Please sign in to comment.