From 11cf48259a987ab2d48355f14b3f11d897d6c8fa Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 14 Mar 2021 21:33:23 -0700 Subject: test: separate tests from background.js, clean up and document a bit also makes the test more lenient (subset instead of equality for tab entries) --- test/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/README.md (limited to 'test/README.md') diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..31460f9 --- /dev/null +++ b/test/README.md @@ -0,0 +1,12 @@ +# 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. -- cgit v1.2.3