mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-05 01:51:28 -04:00
Update dashboard and template flow (#514)
* Updated header and footer * Moved files around and updated gulpfile to correct the build process when it goes to production * Updated fonts * Adjusted grid templating * Adding images to assets * Updated account pages, dashboard, and pages in message sending flow * Updated the styling for the landing pages in the account section once logged in
This commit is contained in:
@@ -14,7 +14,7 @@ describe("Error Banner", () => {
|
||||
describe("The `hideBanner` method", () => {
|
||||
test("Will hide the element", () => {
|
||||
document.body.innerHTML = `
|
||||
<span class="govuk-error-message banner-dangerous js-error-visible">
|
||||
<span class="usa-error-message banner-dangerous js-error-visible">
|
||||
</span>`;
|
||||
window.GOVUK.ErrorBanner.hideBanner();
|
||||
expect(document.querySelector('.banner-dangerous').classList).toContain('govuk-!-display-none')
|
||||
@@ -24,7 +24,7 @@ describe("Error Banner", () => {
|
||||
describe("The `showBanner` method", () => {
|
||||
beforeEach(() => {
|
||||
document.body.innerHTML = `
|
||||
<span class="govuk-error-message banner-dangerous js-error-visible govuk-!-display-none">
|
||||
<span class="usa-error-message banner-dangerous js-error-visible govuk-!-display-none">
|
||||
</span>`;
|
||||
|
||||
window.GOVUK.ErrorBanner.showBanner('Some Err');
|
||||
|
||||
Reference in New Issue
Block a user