Comments (7)
Grabbing this one, thanks!
from dank-memes.
Hello @GhostToast , I'm going to create a pull request integrating ava over the course of this day, just letting you know to avoid conflicts.
from dank-memes.
@stevefai thanks, i look forward to it. i've not used it yet so i'm muddling through so far. happy to help w/ any conflicts as they arrive.
from dank-memes.
@stevefai here is my initial progress, not working so far. but the test suite is installed. i think "make test" was a placeholder in the package.json file - but maybe there's another approach. in case this is useful to you (i've never used ava) - otherwise happy to wait for your example. it will be interesting to find ways to put assertions in some of these since most of it is console logging haha. probably will have to alter how some of the files operate, more subfunctions, etc. https://github.com/cjwilburn/dank-memes/compare/dankest-dungeon-tests?expand=1
from dank-memes.
@GhostToast this was just merged #62 , it should make testing a bit easier.
If you refactor dankest-dungeon.js
to use console-reader
instead, you can then replace calls to console-reader.question
with stubs while testing and everything should go smoothly.
For creating stubs, maybe we should use SinonJS. My pull request for this will come just tomorrow though.
from dank-memes.
At this point I've made no progress, mostly due to being busy. I'm unassigning this from myself in case someone else wants to give it a go cc @cjwilburn @stevefai
from dank-memes.
Thanks @GhostToast for the heads-up
from dank-memes.
Related Issues (20)
- github actions HOT 1
- write unit tests for "yo dawg" meme HOT 4
- write unit tests for Ron Swanson meme in ava HOT 1
- write unit test for meme roulette in avajs HOT 4
- further security mitigation
- write unit test for reddit meme generator in avajs HOT 5
- write tests for make-meme.js in ava
- move invocations to deprecated `opn` module to `open` HOT 2
- butterfly man meme generator HOT 3
- "me explaining to my mom meme generator HOT 3
- Refactor to async/await HOT 1
- Flesh out proper CI in Github Actions
- typescript support HOT 2
- Invalid username/password for accessing the Imgflip API
- refactor generators to work in generators directory HOT 3
- move from Contributor Covenant to weallbehave as CoC
- Improve Github Actions Integration HOT 3
- More Tests
- Break Out Issue Templates
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 dank-memes.