Skip to content

Commit

Permalink
style: format code with StandardJS (#328)
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in b128031 according to the output
from StandardJS.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Jan 15, 2025
1 parent b128031 commit 1216942
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
presets: [
'@babel/preset-env',
'@babel/preset-typescript',
'@babel/preset-typescript'
],
sourceMaps: 'inline',
};
sourceMaps: 'inline'
}
28 changes: 14 additions & 14 deletions jest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
/** @type {import('jest').Config} */
const config = {
collectCoverage: true,
coverageDirectory: "coverage",
coverageProvider: "v8",
testEnvironment: "node",
coverageDirectory: 'coverage',
coverageProvider: 'v8',
testEnvironment: 'node',
transform: {
'^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', {
'^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', {
sourceMaps: false,
plugins: ['@babel/plugin-transform-modules-commonjs']
}]
},
moduleFileExtensions: ["js", "jsx", "ts", "tsx", "json", "node"],
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'node'],
testMatch: [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[tj]s?(x)"
'**/__tests__/**/*.[jt]s?(x)',
'**/?(*.)+(spec|test).[tj]s?(x)'
],
collectCoverageFrom: [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts",
"!src/.vuepress/**/*",
"!**/node_modules/**"
'src/**/*.{js,jsx,ts,tsx}',
'!src/**/*.d.ts',
'!src/.vuepress/**/*',
'!**/node_modules/**'
],
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1"
'^@/(.*)$': '<rootDir>/src/$1'
}
};
}

export default config;
export default config

0 comments on commit 1216942

Please sign in to comment.