Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aimingoo/mocha
Mocha test framework - TypeScript transferred
https://github.com/aimingoo/mocha
framework mocha test typescript
Last synced: 30 days ago
JSON representation
Mocha test framework - TypeScript transferred
- Host: GitHub
- URL: https://github.com/aimingoo/mocha
- Owner: aimingoo
- License: mit
- Created: 2023-11-12T08:32:03.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-12T08:37:33.000Z (about 1 year ago)
- Last Synced: 2024-11-06T13:56:20.684Z (3 months ago)
- Topics: framework, mocha, test, typescript
- Language: JavaScript
- Homepage:
- Size: 1.88 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
## Mocha
Mocha test framework - TypeScript transferred.
The orginal Mocha project @see mochajs/mocha.
### Notes
* Use the project
```bash
# install (Typescript and Prettier in dependencies)
> npm install
# compile
> npx tsc --target es2018 --module nodenext --outDir './lib'
# and copy two files
> cp src/mocharc.json lib/ && cp src/browser/template.html lib/browser/# format
> npx prettier -w ./lib
# try all testcases
> npx nps test
```* Diff with orginal project
```bash
# download orginal archive .tar.gz from mochajs/mocha
> wget https://github.com/mochajs/mocha/archive/master.tar.gz
# extact orginal lib to ./lib2 from the archive (or, unzip and mv ...)
> tar -xzvf ./master.tar.gz --wildcards mocha*/lib/* --strip-components=2 --one-top-level=./lib2
# diff transferred lib and ./lib2 with 3rd tools
> ...
```### History
* 2023.11.12 first release.
### Changes
### License
Orginal mocha based.