Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
/ unmock-ts-koans Public archive

Learning koans for unmock-js written in TypeScript

Notifications You must be signed in to change notification settings

meeshkan/unmock-ts-koans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unmock-ts-koans

Koans are a great way to learn a new language or library. These koans will teach you how to use unmock in typescript.

Running the koans

First, install the dependencies.

$ yarn

Then, run the first koan.

$ yarn test-1

It will fail, and there are comments in the first test file with hints on how to fix it.

Once you get this koan to pass, congratulate yourself! Then, run the second koan.

$ yarn test-2

And so on and so forth until you have run all of the koans.

Then, when you are done, you can bask in the glory of lots of correct koans by running the following.

$ yarn test

Sharing your work

If you've completed the koans and want to share your answers, just make a PR! Check out some of the branches for inspiration. Some people also use PRs for help if/when they get stuck - thanks to everyone who has given a hand.

Contributing a new test

Some people that have shared their branches have added extra tests. If you want your test to be merged into the main branch, please make a PR to master with the "wrong" version and answers with the correction.

Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.

About

Learning koans for unmock-js written in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published