bytes

Loads bytes from a relative path beneath root.

Return

The fixture contents.

Parameters

name

A relative file path; traversal outside the root is rejected.

Throws

for an empty, absolute, or escaping path.

when the fixture does not exist.