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

Run Unit Tests in Node #192

Open
jvilk opened this issue Aug 1, 2017 · 2 comments
Open

Run Unit Tests in Node #192

jvilk opened this issue Aug 1, 2017 · 2 comments
Assignees

Comments

@jvilk
Copy link
Owner

jvilk commented Aug 1, 2017

There is interest in running BrowserFS under Node, and writing backends specifically for Node. The first step to enable these things is to get our unit tests running in Node to facilitate testing these new backends.

@jvilk jvilk self-assigned this Aug 1, 2017
@billiegoose
Copy link
Contributor

I'm now indirectly working on this. I want to port my Jest unit tests for isomorphic-git to a framework that can run in the browser.

I'm currently using jest-fixtures to copy fixture directories to a temporary directory for each unit test. (That causes its own problems... I get a small but regular number of test failures due to Windows file system just being grumpy.) In order to do fixtures in the browser, I plan to use serve up the files with karma's static file option and use BrowserFS's HTTPRequest backend to mount the test fixtures.

In order for the exact same unit tests to work in Node, my plan is to ALSO use BrowserFS to mount test fixtures in Node, but using the FolderAdapter backend. We'll see how it goes.

Repository owner locked and limited conversation to collaborators Oct 25, 2023
@james-pre
Copy link
Collaborator

Please use zen-fs/core#8

@james-pre james-pre closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
@james-pre james-pre reopened this May 17, 2024
Repository owner unlocked this conversation May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants