Skip to content

Commit

Permalink
Hardcode expected values
Browse files Browse the repository at this point in the history
  • Loading branch information
lekterable committed Oct 14, 2019
1 parent 350e8ea commit 47b6168
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -6,7 +6,6 @@
*/

import {makeGlobalConfig} from '../../../../TestUtils';
import {formatTestPath} from '../utils';
import getResultHeader from '../get_result_header';
const terminalLink = require('terminal-link');

Expand All @@ -26,8 +25,8 @@ test('should call `terminal-link` correctly', () => {
getResultHeader(testResult, globalConfig);

expect(terminalLink).toBeCalledWith(
formatTestPath(globalConfig, testResult.testFilePath),
`file://${testResult.testFilePath}`,
expect.stringContaining('foo'),
`file:///foo`,
expect.objectContaining({fallback: expect.any(Function)}),
);
});
Expand Down

0 comments on commit 47b6168

Please sign in to comment.