formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Issue in Running test Script

Open Zash0012 opened this issue 5 years ago • 5 comments

When i am running npm run test the below error is coming 'TZ' is not recognized as an internal or external command, operable program or batch file.

Zash0012 avatar Dec 04 '20 10:12 Zash0012

What OS are you running the tests within?

travist avatar Dec 07 '20 14:12 travist

What OS are you running the tests within?

Windows

Zash0012 avatar Dec 08 '20 06:12 Zash0012

It may be the case that our build and tests scripts are not compatible with Windows. We all use Unix based systems @ form.io, so we would welcome a fix to this to support windows as a pull request.

travist avatar Dec 09 '20 14:12 travist

Please help!!!!!!!!!!

Zash0012 avatar Dec 17 '20 05:12 Zash0012

@Zash0012 I fixed the problem by deleting tz; before: TZ=Etc/UTC cypress run --browser firefox after: cypress run --browser firefox

mathiasgraabeck avatar Jun 15 '22 10:06 mathiasgraabeck

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

Tatsiana8 avatar Feb 14 '24 14:02 Tatsiana8