GithubHelp home page GithubHelp logo

timhor / exercism-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exercism/typescript

0.0 1.0 0.0 3.25 MB

Exercism exercises in TypeScript.

Home Page: https://exercism.org/tracks/typescript

License: MIT License

Shell 0.32% TypeScript 79.49% JavaScript 19.99% PowerShell 0.19%

exercism-typescript's Introduction

TypeScript

configlet typescript / ci

Exercism exercises in TypeScript

This is the TypeScript track, one of the many tracks on exercism. It holds all the exercises that are currently implemented and available for students to complete. The track consists of various core exercises - the ones a student must complete - and each core exercise may unlock various side exercises. You can find this in the config.json.

In version 3 of exercism, the above no longer holds. See the exercism/v3 repository for more information.

Tools

See CONTRIBUTING.md for a list of requirements to contribute to this track. It also has a list of tools you can use, of which the test tool is one of them.

Running the test suite

This runs jest tests for all sample solutions. This does not use the regular way to run jest, because the example solution files must be renamed to be imported correctly into the test files.

yarn babel-node scripts/test

If the ASSIGNMENT environment variable is set, only that exercise is tested. For example, if you only want to test the two-fer.example.ts for two-fer, you may, depending on your environment, use:

ASSIGNMENT=two-fer yarn babel-node scripts/test

Running on Windows? Depending on your shell, environment variables are set differently. You can use cross-env to normalize this. The following should work across environments:

yarn cross-env ASSIGNMENT=two-fer babel-node scripts/test

Related repositories

Related JavaScript repositories

A lot of the improvements made to this track and tooling, is also made to the JavaScript track and tooling and vice-versa.


Instructions

  1. cd into an exercise under exercises/practice
  2. Run yarn install
  3. Run yarn test --watch

Progress

For a randomly picked suggestion on which exercise to try next, run yarn next-exercise.

exercism-typescript's People

Contributors

anuragsoni avatar averaart avatar crivasgomez avatar dependabot[bot] avatar deyshin avatar ee7 avatar emiller42 avatar erikschierboom avatar exercism-bot avatar foxfriends avatar fredrb avatar g-rath avatar ihid avatar joshgoebel avatar joshiraez avatar jspengeman avatar masters3d avatar mdmower avatar mdowds avatar msomji avatar nywilken avatar peerreynders avatar pranasziaukas avatar roshanjossey avatar rwaskiewicz avatar sleeplessbyte avatar sn0wfox avatar soyarsauce-atlassian avatar thedevelopnik avatar timhor avatar

Watchers

 avatar

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.