diff --git a/package.json b/package.json index 27f43e9a..85f1b276 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,6 @@ "yargs": "^16.2.0" }, "devDependencies": { - "@types/ejs": "^3.1.5", "@types/express": "^4.17.11", "@types/jest": "^27.0.1", "@types/node": "^14.14.37", diff --git a/src/Template.test.ts b/src/Template.test.ts deleted file mode 100644 index 0e9eea26..00000000 --- a/src/Template.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { renderFile } from "ejs"; -import { join } from "path"; - -describe("button configuration renders correctly", () => { - const templatePath: string = join( - __dirname, - "..", - "views", - "login_selection.ejs" - ); - - test("does not render element", async () => { - const html: string = await renderFile(templatePath, { - login_gov_enabled: false, - mhv_logon_enabled: false, - ds_logon_enabled: false, - id_me_login_link: "something", - }); - expect(html).not.toMatch(/DS Logon/); - expect(html).not.toMatch(/My HealtheVet/); - expect(html).not.toMatch(/