File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
import { test } from '@japa/runner'
11
+ import { fileURLToPath } from 'node:url'
11
12
import { AppFactory } from '@adonisjs/application/factories'
12
- import { Dumper } from '../../modules/dumper/dumper.js'
13
- import { E_DUMP_DIE_EXCEPTION } from '../../modules/dumper/errors.js'
14
13
import { HttpContextFactory } from '@adonisjs/http-server/factories'
14
+
15
+ import { Dumper } from '../../modules/dumper/dumper.js'
15
16
import { AceFactory } from '../../factories/core/ace.js'
17
+ import { E_DUMP_DIE_EXCEPTION } from '../../modules/dumper/errors.js'
16
18
17
19
test . group ( 'Dumper' , ( ) => {
18
20
test ( 'dump and die' , ( { fs } ) => {
@@ -77,8 +79,8 @@ test.group('Dumper', () => {
77
79
{
78
80
title : 'DUMP DIE' ,
79
81
source : {
80
- location : import . meta. filename ,
81
- line : 68 ,
82
+ location : fileURLToPath ( new URL ( '' , import . meta. url ) ) ,
83
+ line : 70 ,
82
84
} ,
83
85
}
84
86
)
You can’t perform that action at this time.
0 commit comments