Credo.Test.Case.to_source_files

You're seeing just the function to_source_files, go back to Credo.Test.Case module for more information.

Converts the given list of source code strings to a list of %SourceFile{} structs.

["x = 5", "y = 6"]
|> to_source_files()