Skip to content

Commit

Permalink
test: set package type for json
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Sep 13, 2023
1 parent d95728c commit 67a776a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/specs/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import type { NodeApis } from '../utils/tsx';
export default testSuite(async ({ describe }, node: NodeApis) => {
describe('Load JSON', async ({ describe, onFinish }) => {
const fixture = await createFixture({
'package.json': JSON.stringify({
type: node.packageType,
}),
'index.json': JSON.stringify({
loaded: 'json',
}),
Expand Down

0 comments on commit 67a776a

Please sign in to comment.