Comments (7)
Mmm okay, yeah move all sounds too much work to do. Maybe we could just keep it in the eyes but as long as this can scale and be easy to maintain, I'm fine with that. Thanks for the feedback 😄
from sveltestrap.
Taking a look at: https://github.com/testing-library/svelte-testing-library
Looks promising.
from sveltestrap.
WIP: #35
from sveltestrap.
Also: #37
from sveltestrap.
Tests have been started and merged, will update this issue with missing component tests.
from sveltestrap.
I'm new here, but I'm really happy to contribute. I'd like to know if we could change the folders a little bit. I mean currently we have a __test__
folder with all our test. But I wondering if we could move more to a component folders with test and inplamentation in the same folder.
- src
- Alert
- Alert.svelte
- Alert.spec.js
- Button
- Button.svelte
- Button.spec.js
- Alert
I think this could help to everyone to identify quickly which components has or not test, and if they need to add it 😄
from sveltestrap.
Hi @DaniAcu , thanks for the help. The tests thing is a jest standard, so ran with it. Might be better to stick with it since there are already .d.ts files too. Might be a little much 😅
from sveltestrap.
Related Issues (20)
- Svelte 4 support HOT 24
- Build with Node 18+ HOT 3
- Support `keyboard` option of Offcanvas
- ESM/CJS conflict when importing Sveltestrap components HOT 4
- Migrate to floating UI
- Add `"type": "module"` to `package.json` HOT 2
- Button dropdown work only on second press HOT 1
- [docs] "Misleading" Alert title in the first example
- `hidden` flag/attribute on Nav/NavItem
- Documentation on color handling is incorrect HOT 1
- Mixing FormGroup and InputGroup
- Modal on:opening and on:open events are not firing HOT 1
- Looking for new maintainer HOT 4
- Add `plainText` and `size` props for Input
- Allow markup in Input labels
- Important: Repo Migration! HOT 1
- Input date with max attribute keyboard issue HOT 2
- Missing exports condition
- Carousel theme not working
- Adding Classes to elements result in "unused css selector" with in document CSS. HOT 1
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 sveltestrap.