Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulo-ferraz-oliveira/nodejs-tests-example
Showcase for https://github.com/paulo-ferraz-oliveira/nodejs-tests
https://github.com/paulo-ferraz-oliveira/nodejs-tests-example
Last synced: about 1 month ago
JSON representation
Showcase for https://github.com/paulo-ferraz-oliveira/nodejs-tests
- Host: GitHub
- URL: https://github.com/paulo-ferraz-oliveira/nodejs-tests-example
- Owner: paulo-ferraz-oliveira
- License: mit
- Created: 2024-07-14T20:44:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T17:26:04.000Z (2 months ago)
- Last Synced: 2024-09-16T21:31:52.729Z (2 months ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `nodejs-tests-example` [![CI][ci-img]][ci] [![Lint][lint-img]][lint]
[ci]: https://github.com/paulo-ferraz-oliveira/nodejs-tests-example/actions/workflows/ci.yml
[ci-img]: https://github.com/paulo-ferraz-oliveira/nodejs-tests-example/actions/workflows/ci.yml/badge.svg
[lint]: https://github.com/paulo-ferraz-oliveira/nodejs-tests-example/actions/workflows/lint.yml
[lint-img]: https://github.com/paulo-ferraz-oliveira/nodejs-tests-example/actions/workflows/lint.yml/badge.svgThis repository serves as a showcase for .
I wanted something simple, but also useful, to test it with, so I implemented a
basic PubSub object, with interface taking inspiration from Node.js' `EventEmitter`.Check the [test](test/) folder for a peek at how to use `nodejs-tests`, or read its
[README](https://github.com/paulo-ferraz-oliveira/nodejs-tests) for more.## The example
An example run on this repository, via `npm run tests` yields the following output
```text
✗ npm run test> test
> node test/pubsub.test.js===> Running suites...
%%% suite pubsub: ......
Failed 0 test(s). Passed 6 test(s).
```## The project
### Changelog
There is no usable changelog.
### Code of Conduct
There is no explicit code of conduct. Be kind!
### Contributing
At this moment we're not accepting contributions.
### License
License information can be found inside [LICENSE](https://github.com/paulo-ferraz-oliveira/nodejs-tests-example/blob/main/LICENSE.md).
### Security
There's no security policy in place.