filePathResolver property

FilePathResolver filePathResolver

A function that returns the path of the golden file for a given test's file name. This function's return value should include the .png extension.

This function is used by goldenTest to determine where the golden file should be located. By default, the golden file is located in the goldens/<environmentName>/ directory relative to the test file.

Implementation

FilePathResolver get filePathResolver =>
    _filePathResolver ?? _defaultFilePathResolver;