spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit 1fe994d3db416d8db5c01a9a674d0364e0ce0ebc
parent 6b9e4e5b2b4b94179068a9650ce0fa168728e41c
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Sat, 12 Sep 2020 11:23:01 -0700

Remove app watch tests.

Diffstat:
MTests/test.app.js | 48------------------------------------------------
1 file changed, 0 insertions(+), 48 deletions(-)

diff --git a/Tests/test.app.js b/Tests/test.app.js @@ -359,52 +359,4 @@ describe("App", function() { expect(app.prompt[3]).to.equal("d2"); }); }); - - describe("PromptType watch", function() { - it("Should update setting in localStorage", function() { - // Save original setting from localStorage - let originalValue = localStorage.getItem("promptType"); - - // Set promptType - app.promptType = "test"; - - // Assert localStorage setting updated - expect(localStorage.getItem("promptType")).to.equal("test"); - - // Restore original setting to localStorage - localStorage.setItem("promptType", originalValue); - }); - }); - - describe("InputType watch", function() { - it("Should update setting in localStorage", function() { - // Save original setting from localStorage - let originalValue = localStorage.getItem("inputType"); - - // Set inputType - app.inputType = "test"; - - // Assert localStorage setting updated - expect(localStorage.getItem("inputType")).to.equal("test"); - - // Restore original setting to localStorage - localStorage.setItem("inputType", originalValue); - }); - }); - - describe("RepeatPrompts watch", function() { - it("Should update setting in localStorage", function() { - // Save original setting from localStorage - let originalValue = localStorage.getItem("repeatPrompts"); - - // Set repeatPrompts - app.repeatPrompts = "test"; - - // Assert localStorage setting updated - expect(localStorage.getItem("repeatPrompts")).to.equal("test"); - - // Restore original setting to localStorage - localStorage.setItem("repeatPrompts", originalValue); - }); - }); });