Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/geozi/javascript-jasmine
- Owner: geozi
- Created: 2024-10-19T15:28:08.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T17:34:45.000Z (4 months ago)
- Last Synced: 2024-12-14T04:27:29.997Z (2 months ago)
- Topics: jasmine-tests, unit-testing, vanilla-javascript
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.