Giter Club home page Giter Club logo

Comments (7)

GhostToast avatar GhostToast commented on July 21, 2024 1

Grabbing this one, thanks!

from dank-memes.

stevefai avatar stevefai commented on July 21, 2024

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.

GhostToast avatar GhostToast commented on July 21, 2024

@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.

GhostToast avatar GhostToast commented on July 21, 2024

@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.

stevefai avatar stevefai commented on July 21, 2024

@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.

GhostToast avatar GhostToast commented on July 21, 2024

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.

cjwilburn avatar cjwilburn commented on July 21, 2024

Thanks @GhostToast for the heads-up

from dank-memes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.