File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ describe('CodeContext', () => {
19
19
20
20
describe ( 'fileColonLine when lineNumber is not set' , ( ) => {
21
21
it ( 'returns the full filepath when fullPath is truthy' , ( ) => {
22
- expect ( this . codeContext . fileColonLine ( ) ) . toMatch ( testFilePath ) ;
23
- expect ( this . codeContext . fileColonLine ( true ) ) . toMatch ( testFilePath ) ;
22
+ expect ( this . codeContext . fileColonLine ( ) ) . toEqual ( testFilePath ) ;
23
+ expect ( this . codeContext . fileColonLine ( true ) ) . toEqual ( testFilePath ) ;
24
24
} ) ;
25
25
26
26
it ( 'returns only the filename and line number when fullPath is falsy' , ( ) => {
27
- expect ( this . codeContext . fileColonLine ( false ) ) . toMatch ( testFile ) ;
27
+ expect ( this . codeContext . fileColonLine ( false ) ) . toEqual ( testFile ) ;
28
28
} ) ;
29
29
} ) ;
30
30
You can’t perform that action at this time.
0 commit comments