BrianLusina / jtscripts

Consists of small JavaScript snippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript & TypeScript Snippets

Build Status Codacy Badge Codacy Badge CircleCI codecov david-dm david-dm XO code style Standard - JavaScript Style Guide

Consists of various JavaScript problems and thei solutions. Of course the solutions are my own, feel free to comment on them and add on to them. These problems are from various coding challenge sites(Codewars, exercism), some from FreeCode Camp and others are my own. Each problem will have a brief description as to what is required and their tests will be provided and implemented using jasmine-node.

Simply clone the project git into the directory and install the dependencies.

$ git clone https://github.com/BrianLusina/JS-Snippets.git
$ cd JS-Snippets
$ npm install

yarn install, if using yarn

Tests

To run tests, simply use jasmine-node

$ jasmine-node tests/

This will run all the tests in the tests/ directory, which is where all tests should live.

Alternatively, you can use npm run test-all, which will do the trick.

You can run coverage with npm run cover, which will use istanbul for test coverage.

About

Consists of small JavaScript snippets

License:MIT License


Languages

Language:TypeScript 56.9%Language:JavaScript 43.1%