Back

Is it possible that there might be something wrong with the Unit tests

  • 0
  • Tools
  • Web
error β™‘
17 Sep, 2023, 13:07

Unit tests say a different story from when i manually tested them in javascript.

TL;DR
The user suspects that there might be something wrong with the unit tests. They are unsure why the unit tests show different results compared to manually testing in JavaScript. They suggest looking into the unit tests as part of the issue being worked on. The solution is to explore and investigate why the unit tests are not matching the manual tests.
error β™‘
17 Sep, 2023, 13:08

they are for the exact same regex pattern

error β™‘
17 Sep, 2023, 13:08

and exact same tests

Drake
18 Sep, 2023, 16:06

ya...something seems to be off with the unit test...im not really sure why 🧐

error β™‘
20 Sep, 2023, 02:43

Want me to create an issue?

error β™‘
20 Sep, 2023, 02:44

I'll explore and see why it's going wrong

Drake
20 Sep, 2023, 02:52

Are you working on fixing the validation?

error β™‘
21 Sep, 2023, 11:59

yes

Drake
21 Sep, 2023, 17:59

no need to create a new issue. it would be great if you could take a look at the unit tests as part of the issue you're working on

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more