Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support assertSnapshotSync #6365

Open
QimatLuo opened this issue Jan 24, 2025 · 0 comments
Open

Support assertSnapshotSync #6365

QimatLuo opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request suggestion a suggestion yet to be agreed

Comments

@QimatLuo
Copy link

Is your feature request related to a problem? Please describe.

I'm working on RxJS, which also use the TestScheduler provide from RxJS.
But there is a limitation when I use TestScheduler doing the test, which cannot have Promise in the test.
https://rxjs.dev/guide/testing/marble-testing#rxjs-code-that-consumes-promises-cannot-be-directly-tested

Describe the solution you'd like

I try to implement by myself, to use Deno.mkdirSync(), Deno.writeTextFileSync(), Deno.readTextFileSync(), and it works in simple case.
But I realize it's hard becuase there are so many situations need to handle, it's not just simply read/write file and compare the content.

If it can support from standard library will be very good.

@kt3k kt3k added enhancement New feature or request suggestion a suggestion yet to be agreed labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request suggestion a suggestion yet to be agreed
Projects
None yet
Development

No branches or pull requests

2 participants