Comments (7)
Hi @NormandoHall, thanks for reaching out!
I just checked both examples that you supplied, and they both seem to be passing:
On the right hand side you're seeing the proxy Object being returned from enforce, instead of an error being thrown - which means that isDate does indeed pass.
I am wondering how it looks inside your suite, there may be something else at play. Do you have a quick repro sandbox that I can take a look at?
from vest.
@ealush, now runs like a charm.
Thank you!
from vest.
Hi @ealush, Thanks for your quick reply.
I have forked your svelte example sandbox, and added the form field "birthDate" and added the test in the suite, and still fails.
https://codesandbox.io/p/sandbox/svelte-vest-5-isdate-fail-vtdzjw
from vest.
@NormandoHall
No changes to your code whatsoever, it seems to work correctly.
Can you try just inputting this:
01/08/1990
I am wondering if it's related to trimming, special ascii characters, or something else I can't think of - because your code works.
from vest.
It is very strange. I tested 01/08/1990
and fails. Tested with Chrome, Edge, and Firefox
vest.mp4
from vest.
Well, with [email protected]
runs ok (maybe because uses [email protected]
)
from vest.
OK. I think you are right. I had the 13.9.0 locally installed and that's why I did not experience this. I downgraded and now I see this.
Releasing now a patch version of Vest with the lower validator version. Will be out in a few moments.
from vest.
Related Issues (20)
- Dynamic fields HOT 6
- Vest@5 is ready! Help test it!
- Last next release does not include development builds in dist HOT 4
- Debounce HOT 9
- Pending info in summary HOT 7
- Omit without when HOT 5
- `skip` and `only` on the same level HOT 5
- Subscribe HOT 6
- Migration guide example code - eager -> mode HOT 1
- Problem with OmitWhen executing code when condition is true HOT 2
- Done and empty suite HOT 3
- In SvelteKit, all the asynchronous tests below do not work at all. HOT 1
- Cannot find name 'Predicate'. Did you mean 'Predicates'? HOT 5
- only.group missing HOT 4
- Stateless suite HOT 2
- Multiple groups using same tests function HOT 2
- Eager mode does not work in a group/omitWhen/skipWhen HOT 5
- Support for nested suites HOT 2
- isNotEmpty on a numeric field HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vest.