Skip to content

Commit

Permalink
Update test configuration for explore-config package
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Apr 26, 2024
1 parent 46ea11f commit da26750
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/explore-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build:type": "tsc --emitDeclarationOnly --preserveWatchOutput",
"build": "pnpm run \"/^build:.*/\"",
"dev": "pnpm run \"/^build:.*/\" --watch",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test": "jest",
"type-check": "tsc --noEmit",
"lint": "eslint src"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/explore-config/tests/test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { dirname } from 'path'
import exploreConfig from '../src'

const __dirname = dirname(new URL(import.meta.url).pathname)

it('read .js config', () => {
const config = exploreConfig('./fixtures/master.css', { cwd: __dirname, extensions: ['js'] })
expect(config).toEqual({
Expand Down

0 comments on commit da26750

Please sign in to comment.