TabFS/test
Omar Rizwan 9992d13680 extension: factor out routeDirectoryForChildren and createWritableDirectory
sort routes by specificity (__matchVarCount)

makes evals & watches much simpler; is prep work for writable tab
directory stuff
2021-07-22 17:53:17 -07:00
..
test-resources test: separate tests from background.js, clean up and document a bit 2021-03-14 21:33:23 -07:00
Makefile test: separate tests from background.js, clean up and document a bit 2021-03-14 21:33:23 -07:00
README.md test: separate tests from background.js, clean up and document a bit 2021-03-14 21:33:23 -07:00
test.c fs,extension: Make truncate work on cached file content. 2021-04-06 13:48:48 -07:00
test.js extension: factor out routeDirectoryForChildren and createWritableDirectory 2021-07-22 17:53:17 -07:00

README.md

test

Two separate test 'suites': one in test.js that uses node, and one in test.c that is an integration test that actually tests against the extension in browser.

Right now, you need to have Chrome open (I haven't tried Firefox or Safari), and you'll want to make sure a window other than the extension console is focused (the console is non-debuggable, so it breaks the test).

Run make in this folder.