We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wonder if this is the correct way to implement this plugin to a TypeScript based project.
import 'cypress-terminal-report/src/installLogsCollector';
import { defineConfig } from 'cypress'; import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter'; export default defineConfig( { e2e: { setupNodeEvents(on : Cypress.PluginEvents) { installLogsPrinter(on); } } });
It says that installLogsPrinter is not a fuction but observing the d.tsgives me that information.
d.ts
declare function installLogsPrinter(on: Cypress.PluginEvents, options?: PluginOptions): void; export default installLogsPrinter;
The text was updated successfully, but these errors were encountered:
https://github.com/archfz/cypress-terminal-report-demo Please see here. The solution is to add esModuleInterop: true in tsconfig. I will update the readme as well.
esModuleInterop: true
Sorry, something went wrong.
#148: Fix typing and update readme for ts cypress config. Release 4.0.1
c7d74ce
No branches or pull requests
I wonder if this is the correct way to implement this plugin to a TypeScript based project.
support/e2e.ts
cypress.config.ts
It says that installLogsPrinter is not a fuction but observing the
d.ts
gives me that information.The text was updated successfully, but these errors were encountered: