@@ -5,15 +5,15 @@ import tmp from 'tmp'
55import { describe , expect , test } from 'vitest'
66
77import { ERR_INVALID_INPUT , EdgeAddonActionError } from '@/error'
8- import { stringify , tryResolveFile } from '@/utils'
8+ import { stringifyForDebugging , tryResolveFile } from '@/utils'
99
1010test ( 'stringify' , ( ) => {
11- expect ( stringify ( 'hello' ) ) . toBe ( 'hello' )
12- expect ( stringify ( 42 ) ) . toBe ( '42' )
13- expect ( stringify ( [ 1 , 2 , 3 ] ) ) . toBe ( '[1,2,3]' )
14- expect ( stringify ( { foo : 'bar' } ) ) . toBe ( '{"foo":"bar"}' )
15- expect ( stringify ( null ) ) . toBe ( 'null' ) // eslint-disable-line unicorn/no-null
16- expect ( stringify ( undefined ) ) . toBe ( 'undefined' )
11+ expect ( stringifyForDebugging ( 'hello' ) ) . toBe ( 'hello' )
12+ expect ( stringifyForDebugging ( 42 ) ) . toBe ( '42' )
13+ expect ( stringifyForDebugging ( [ 1 , 2 , 3 ] ) ) . toBe ( '[1,2,3]' )
14+ expect ( stringifyForDebugging ( { foo : 'bar' } ) ) . toBe ( '{"foo":"bar"}' )
15+ expect ( stringifyForDebugging ( null ) ) . toBe ( 'null' ) // eslint-disable-line unicorn/no-null
16+ expect ( stringifyForDebugging ( undefined ) ) . toBe ( 'undefined' )
1717} )
1818
1919describe ( 'tryResolveFile' , ( ) => {
0 commit comments