commit 30b8754abbc8d025efbea199a1822b28fb9d0822
parent 54cdb0f73501be9430b3e219055c10d401009f73
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date: Sat, 20 Mar 2021 18:45:15 -0700
Update tests
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test.global.js b/tests/test.global.js
@@ -62,7 +62,7 @@ describe("Global.js", function() {
// Assert default settings loaded
expect(settings).to.deep.equal({
- darkTheme: false,
+ darkTheme: settings.darkTheme = (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches),
conjugationColors: true,
promptType: "Text",