Skip to content

Commit 6d5a895

Browse files
committed
feat: remove createTestDisposables
1 parent d984705 commit 6d5a895

4 files changed

Lines changed: 0 additions & 69 deletions

File tree

packages/testing/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Steps are a convenient way to craft async tests. A step has a timeout and a desc
5252
| [allWithTimeout(actions)](https://dazl-dev.github.io/core3-utils/testing.allwithtimeout) | <p>Limits the time a list of promises can take</p><p>- Note: useable only within a mocha test/hook. The total test timeout will be adjusted to make sure the test will not time out waiting for this step</p> |
5353
| [chaiRetryPlugin(\_, { flag, inspect })](https://dazl-dev.github.io/core3-utils/testing.chairetryplugin) | Plugin that allows to re-run function passed to <code>expect</code>, in order to achieve that use new <code>retry</code> method, retrying would be performed until the result will pass the chained assertion or timeout exceeded or retries limit reached. Should be applied through <code>Chai.use</code> function, for example: |
5454
| [createDisposalGroup(name, constraints)](https://dazl-dev.github.io/core3-utils/testing.createdisposalgroup) | Creates a new disposal group |
55-
| [createTestDisposables(disposeHook)](https://dazl-dev.github.io/core3-utils/testing.createtestdisposables) | Creates a disposable group that will be disposed after the test is done |
5655
| [debugSafeTimeout(ms, rest)](https://dazl-dev.github.io/core3-utils/testing.debugsafetimeout) | Creates an object with [scaled](https://dazl-dev.github.io/core3-utils/testing.scaletimeout) timeout and adjust the current test timeout accordingly |
5756
| [defaults()](https://dazl-dev.github.io/core3-utils/testing.defaults) | default values for steps of the current test |
5857
| [disposeAfter(disposable, options)](https://dazl-dev.github.io/core3-utils/testing.disposeafter) | |

packages/testing/src/create-test-disposables.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/testing/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ export * from './dispose.js';
4141
export * from './randomize-tests-order.js';
4242
export * from './mocha-ctx.js';
4343
export * from './chai-retry-plugin/index.js';
44-
export * from './create-test-disposables.js';
4544
export * from './code-matchers/index.js';
4645
export * from './timeouts.js';

packages/testing/src/test/create-test-disposables.unit.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)