Skip to content

Commit 38eb43e

Browse files
committed
chore: update dependencies
1 parent 957e59e commit 38eb43e

File tree

5 files changed

+14
-16
lines changed

5 files changed

+14
-16
lines changed

package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
"engines": {
66
"node": ">=18.16.0"
77
},
8-
"main": "./build/index.js",
98
"type": "module",
109
"files": [
1110
"build",
12-
"!build/tests",
13-
"!build/tests_helpers"
11+
"!build/tests"
1412
],
1513
"exports": {
1614
".": "./build/index.js",
@@ -35,12 +33,12 @@
3533
"@adonisjs/eslint-config": "^2.0.0-beta.7",
3634
"@adonisjs/prettier-config": "^1.4.0",
3735
"@adonisjs/tsconfig": "^1.4.0",
38-
"@japa/errors-printer": "^3.0.4",
39-
"@japa/runner": "^3.1.4",
40-
"@release-it/conventional-changelog": "^9.0.3",
41-
"@swc/core": "^1.10.1",
36+
"@japa/errors-printer": "^4.0.0",
37+
"@japa/runner": "^4.0.0",
38+
"@release-it/conventional-changelog": "^9.0.4",
39+
"@swc/core": "^1.10.4",
4240
"@types/luxon": "^3.4.2",
43-
"@types/node": "^22.10.2",
41+
"@types/node": "^22.10.5",
4442
"c8": "^10.1.3",
4543
"cross-env": "^7.0.3",
4644
"del-cli": "^6.0.0",
@@ -54,16 +52,14 @@
5452
"typescript": "^5.7.2"
5553
},
5654
"dependencies": {
57-
"@poppinss/macroable": "^1.0.3",
55+
"@poppinss/macroable": "^1.0.4",
5856
"@types/chai": "^5.0.1",
5957
"assertion-error": "^2.0.1",
6058
"chai": "^5.1.2"
6159
},
6260
"peerDependencies": {
63-
"@japa/runner": "^3.1.2"
61+
"@japa/runner": "^3.1.2 || ^4.0.0"
6462
},
65-
"author": "virk,japa",
66-
"license": "MIT",
6763
"homepage": "https://github.com/japa/assert#readme",
6864
"repository": {
6965
"type": "git",
@@ -77,6 +73,8 @@
7773
"chai",
7874
"japa"
7975
],
76+
"author": "Harminder Virk <[email protected]>",
77+
"license": "MIT",
8078
"publishConfig": {
8179
"access": "public",
8280
"provenance": true

tests/assert/assert.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import { test } from 'node:test'
1313
import { DateTime } from 'luxon'
1414
import { Assert } from '../../src/assert.js'
15-
import { expectError, expectAsyncError } from '../../tests_helpers/index.js'
15+
import { expectError, expectAsyncError } from '../helpers.js'
1616

1717
/**
1818
* Tests in this file is a copy of

tests/assert/assert_subset.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import { before, test } from 'node:test'
1111
import { Assert } from '../../src/assert.js'
12-
import { expectError } from '../../tests_helpers/index.js'
12+
import { expectError } from '../helpers.js'
1313

1414
/**
1515
* Tests are copied from https://raw.githubusercontent.com/debitoor/chai-subset/master/test/unit/chai-subset.spec.js.

tests_helpers/index.ts renamed to tests/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
*/
99

1010
import * as chai from 'chai'
11-
import { ErrorsPrinter } from '@japa/errors-printer'
1211
import { AssertionError } from 'assertion-error'
12+
import { ErrorsPrinter } from '@japa/errors-printer'
1313

1414
export async function wrapAssertions(fn: () => void | Promise<void>) {
1515
try {

tests/plugin.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { TestContext, Test, Emitter, Refiner } from '@japa/runner/core'
1313

1414
import { assert } from '../index.js'
1515
import { Assert } from '../src/assert.js'
16-
import { wrapAssertions } from '../tests_helpers/index.js'
16+
import { wrapAssertions } from './helpers.js'
1717

1818
test.describe('Plugin', () => {
1919
test('add assert property to test context', async () => {

0 commit comments

Comments
 (0)