Rayrun
← Back to Discord Forum

Error when running test with import from file that contains class (Angular)

In my test, I'm importing a const from a utils file. This utils file contains an import of an Angular class. This results with this error: "Decorators must be placed after the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax. "

This thread is trying to answer question "Why am I getting an error when importing a const from a utils file that contains an import of an Angular class in my test?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.