Skip to content

Commit

Permalink
Prevent Prettier from wrapping lines in vitest.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Jan 12, 2024
1 parent bc441a5 commit 763a598
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/toolkit/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'vitest/config'

import path from 'path'
import { fileURLToPath } from 'url'
import path from 'node:path'
import { fileURLToPath } from 'node:url'

// No __dirname under Node ESM
const __filename = fileURLToPath(import.meta.url)
Expand All @@ -15,7 +15,8 @@ export default defineConfig({
setupFiles: ['./vitest.setup.js'],
include: ['./src/**/*.(spec|test).[jt]s?(x)'],
alias: {
'@reduxjs/toolkit/query/react': path.join(__dirname, './src/query/react/index.ts'), // @remap-prod-remove-line
// prettier-ignore
'@reduxjs/toolkit/query/react': path.join(__dirname,'./src/query/react/index.ts'), // @remap-prod-remove-line
'@reduxjs/toolkit/query': path.join(__dirname, './src/query/index.ts'), // @remap-prod-remove-line
'@reduxjs/toolkit/react': path.join(__dirname, './src/index.ts'), // @remap-prod-remove-line
'@reduxjs/toolkit': path.join(__dirname, './src/index.ts'), // @remap-prod-remove-line
Expand Down

0 comments on commit 763a598

Please sign in to comment.