Skip to content
forked from aimingoo/mocha

Mocha test framework - TypeScript transferred

License

Notifications You must be signed in to change notification settings

IsStudentLee/mocha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha

Mocha test framework - TypeScript transferred.

The orginal Mocha project @see mochajs/mocha.

Notes

  • Use the project

    # 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

    # 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.

About

Mocha test framework - TypeScript transferred

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.3%
  • TypeScript 33.0%
  • Other 0.7%