Bot releases are hidden (Show)
Published by unional about 2 years ago
Published by unional about 2 years ago
The handler context now contains case|baseline|resultPath
instead of folder.
The behavior for file-case and folder-case are now the same.
casePath
points to the actual case file or folder.
baseline|resultPath
always points to a folder with case name.
Even if it is a file-case,
a folder with that name (including file extension) will be created.
This allows users to simply check caseType
to see if it is a file or folder case and process the case based on their assumption.
This allows the baseline()
to be used in a fixture folder with mixed file and folder cases.
Published by unional over 2 years ago
chalk@5
is published as ESM, and that breaks jest
.
Need to add this to jest.config.js
:
{
moduleNameMapper: {
'#(.*)': '<rootDir>/node_modules/$1' // needed for `chalk` getting `#ansi-styles`
},
transformIgnorePatterns: [
'node_modules/(?!(@unional\\fixture|chalk)/)'
]
}