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', () => {
1919
2020 describe ( 'fileColonLine when lineNumber is not set' , ( ) => {
2121 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 ) ;
2424 } ) ;
2525
2626 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 ) ;
2828 } ) ;
2929 } ) ;
3030
You can’t perform that action at this time.
0 commit comments