Skip to content

Commit

Permalink
adds null case rtl test
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Mar 7, 2023
1 parent c5700eb commit f167a45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/rtl-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import it from "./jsdom.js";

it("rtl", () => {
assert.strictEqual(false, rtl(), "default ltr");
assert.strictEqual(false, rtl("#doesnt-exist"), "null case");
});

it("rtl - html", "<!doctype html><html dir='rtl'><head><meta charset='utf-8'></head><body></body></html>", () => {
Expand Down

0 comments on commit f167a45

Please sign in to comment.