https://github.com/munawwar/jquery-node
Browser-ish environment for nodejs unit testing
https://github.com/munawwar/jquery-node
Last synced: 16 days ago
JSON representation
Browser-ish environment for nodejs unit testing
- Host: GitHub
- URL: https://github.com/munawwar/jquery-node
- Owner: Munawwar
- License: mit
- Created: 2015-07-04T10:21:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T20:38:31.000Z (over 8 years ago)
- Last Synced: 2025-03-19T20:46:08.016Z (7 months ago)
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jquery-node
========Intention of this module is to bring a browser-ish environment to NodeJS so that unit testing can be made easier.
On Node
1. Creates a document using jsdom and make it available globally. To get window object use document.defaultView.
2. Initializes jquery using jsdom and exports it.On browser
Returns jquery if AMD is being used.