File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,31 +8,31 @@ describe('doxdox utils', () => {
8
8
9
9
it ( 'find package without input' , ( ) => {
10
10
11
- assert . deepEqual ( utils . findPackageFileInPath ( ) , `${ process . cwd ( ) } /package.json` ) ;
11
+ assert . equal ( utils . findPackageFileInPath ( ) , `${ process . cwd ( ) } /package.json` ) ;
12
12
13
13
} ) ;
14
14
15
15
it ( 'find package with input directory' , ( ) => {
16
16
17
- assert . deepEqual ( utils . findPackageFileInPath ( './' ) , `${ process . cwd ( ) } /package.json` ) ;
17
+ assert . equal ( utils . findPackageFileInPath ( './' ) , `${ process . cwd ( ) } /package.json` ) ;
18
18
19
19
} ) ;
20
20
21
21
it ( 'find package with input file' , ( ) => {
22
22
23
- assert . deepEqual ( utils . findPackageFileInPath ( './package.json' ) , `${ process . cwd ( ) } /package.json` ) ;
23
+ assert . equal ( utils . findPackageFileInPath ( './package.json' ) , `${ process . cwd ( ) } /package.json` ) ;
24
24
25
25
} ) ;
26
26
27
27
it ( 'find package with input non package.json file' , ( ) => {
28
28
29
- assert . deepEqual ( utils . findPackageFileInPath ( './index.js' ) , `${ process . cwd ( ) } /package.json` ) ;
29
+ assert . equal ( utils . findPackageFileInPath ( './index.js' ) , `${ process . cwd ( ) } /package.json` ) ;
30
30
31
31
} ) ;
32
32
33
33
it ( 'fail to find package with invalid directory' , ( ) => {
34
34
35
- assert . deepEqual ( utils . findPackageFileInPath ( './testing' ) , null ) ;
35
+ assert . equal ( utils . findPackageFileInPath ( './testing' ) , null ) ;
36
36
37
37
} ) ;
38
38
You can’t perform that action at this time.
0 commit comments