aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2020-12-25 15:13:04 -0800
committerOmar Rizwan <omar@omar.website>2020-12-25 15:13:04 -0800
commitc4d9cb7b54bcfb2b3f1537f2710109374712bd2c (patch)
tree2df5116bdab698205ba51c85a60484b5ae6b0565 /test.c
parent2d8bedcc4b45a8e52c1f99453019068ed7775b65 (diff)
make windows/*/visible-tab.png. seems to work?
Diffstat (limited to 'test.c')
-rwxr-xr-xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 0d2595f..232fa45 100755
--- a/test.c
+++ b/test.c
@@ -24,11 +24,11 @@ char* expand(char* phrase) { // expand path with wildcard
// integration tests
int main() {
- system("node extension/background.js"); // run quick local JS tests
+ assert(system("node extension/background.js") == 0); // run quick local JS tests
// reload the extension so we know it's the latest code.
system("echo reload > fs/mnt/runtime/reload"); // this may error, but it should still have effect
- sleep(3);
+ sleep(4);
assert(system("echo about:blank > fs/mnt/tabs/create") == 0);
assert(file_contents_equal("fs/mnt/tabs/last-focused/url.txt", "about:blank"));