Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geozi/javascript-jasmine

Showcases the use of Jasmine for performing unit tests.
https://github.com/geozi/javascript-jasmine

jasmine-tests unit-testing vanilla-javascript

Last synced: 7 days ago
JSON representation

Showcases the use of Jasmine for performing unit tests.

Awesome Lists containing this project

README

        

# javascript-jasmine
![Unit testing demo project]( https://img.shields.io/badge/Demo_project-blue)

### About the project
The project showcases the use of the Jasmine framework for performing unit tests on plain JavaScript code.

### Prerequisites
To run the tests, the following will be needed:
* Node.js (v20.11.1 or higher)

### Dependencies
```
"devDependencies": {
"jasmine": "^5.4.0",
"nyc": "^17.1.0"
}
```

### How to run (on Linux)

* Add ``` { "test": "nyc jasmine" } ``` to the scripts section of the package-json file,
* Type ``` npm test ``` on the terminal, and
* Hit enter.