Skip to main content

property TestContext.prototype.filePath

The absolute path of the test file that created the current test. If a test file imports additional modules that generate tests, the imported tests will return the path of the root test file.

Type #

string | undefined

Did you find what you needed?

Privacy policy