Skip to content

Commit

Permalink
Merge pull request #116 from AthennaIO/develop
Browse files Browse the repository at this point in the history
refactor(ctx): use right modules
  • Loading branch information
jlenon7 authored Dec 26, 2023
2 parents dcdd606 + acbeb68 commit 31ddef4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/test",
"version": "4.15.0",
"version": "4.16.0",
"description": "The Athenna test runner. Built on top of Japa.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/converters/TestConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

import { debug } from '#src/debug'
import { test as japaTest } from '#src'
import type { Group } from '@japa/runner'
import type { TestOptions } from '#src'
import type { Group } from '@japa/runner/core'
import { Is, ObjectBuilder, Options } from '@athenna/common'
import { AfterAllHookException } from '#src/exceptions/AfterAllHookException'
import { BeforeAllHookException } from '#src/exceptions/BeforeAllHookException'
Expand Down
2 changes: 1 addition & 1 deletion src/globals/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

export {}

declare module '@japa/runner' {
declare module '@japa/runner/core' {
interface Context {
assert: import('@japa/assert').Assert
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* file that was distributed with this source code.
*/

import type { TestContext } from '@japa/runner'
import type { TestContext } from '@japa/runner/core'

export type Context = TestContext

0 comments on commit 31ddef4

Please sign in to comment.