Comparing version 1.4.3 to 1.5.0
@@ -0,1 +1,11 @@ | ||
## [1.5.0](https://github.com/bee-queue/bee-queue/compare/v1.4.3...v1.5.0) (2022-11-28) | ||
### Features | ||
- **tests:** add docker-test.sh for running tests in a Docker container ([#554](https://github.com/bee-queue/bee-queue/issues/554)) ([1932b39](https://github.com/bee-queue/bee-queue/commit/1932b39e0d5daba2d85922ac1ff5e15898155302)) | ||
### Bug Fixes | ||
- **types:** add types for saveAll() ([#553](https://github.com/bee-queue/bee-queue/issues/553)) ([f909e2a](https://github.com/bee-queue/bee-queue/commit/f909e2a003f2ef97d71d993442eeaddedf2ab5e3)), closes [#318](https://github.com/bee-queue/bee-queue/issues/318) | ||
## [1.4.3](https://github.com/bee-queue/bee-queue/compare/v1.4.2...v1.4.3) (2022-11-23) | ||
@@ -2,0 +12,0 @@ |
@@ -83,2 +83,4 @@ /// <reference types="node" /> | ||
destroy(cb: () => void): void; | ||
saveAll(jobs: BeeQueue.Job<T>[]): Promise<Map<BeeQueue.Job<T>, Error>>; | ||
} | ||
@@ -85,0 +87,0 @@ |
{ | ||
"name": "bee-queue", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"description": "A simple, fast, robust job/task queue, backed by Redis.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -899,4 +899,20 @@ <a name="top"></a> | ||
You'll need a local redis server to run the tests. Note that running the tests may delete some keys in the form of `bq:test-*-*:*`. | ||
## Testing | ||
You'll need a local Redis server to run the tests. Note that running the tests may delete some keys in the form of `bq:test-*-*:*`. | ||
Alternatively, if you have Docker available, you can run tests or do forensic work in an ephemeral container with its own Redis server, e.g.: | ||
```bash | ||
$ ./run-docker-script.sh | ||
$ ./run-docker-script.sh npx ava --serial --fail-fast --verbose --no-color --timeout 30000 | ||
$ ./run-docker-script.sh npm run coverage | ||
$ ./run-docker-script.sh bash | ||
$ ./run-docker-script.sh --help | ||
``` | ||
[npm-image]: https://img.shields.io/npm/v/bee-queue.svg?style=flat | ||
@@ -903,0 +919,0 @@ [npm-url]: https://www.npmjs.com/package/bee-queue |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103371
1385
923