1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-16 08:30:07 +00:00

chore(deps): added prettier dev dependency

This commit is contained in:
Yury Shkoda
2022-06-20 19:36:12 +03:00
parent 489947bcae
commit a113c95441
59 changed files with 257 additions and 242 deletions

View File

@@ -15,12 +15,12 @@ describe('verifySas9Login', () => {
})
it('should return isLoggedIn true by checking state of popup', async () => {
const popup = ({
const popup = {
window: {
location: { href: serverUrl + `/SASLogon/home` },
document: { body: { innerText: '<h3>You have signed in.</h3>' } }
}
} as unknown) as Window
} as unknown as Window
await expect(verifySas9Login(popup)).resolves.toEqual({
isLoggedIn: true
@@ -28,7 +28,7 @@ describe('verifySas9Login', () => {
})
it('should return isLoggedIn false if user closed popup, already', async () => {
const popup: Window = ({ closed: true } as unknown) as Window
const popup: Window = { closed: true } as unknown as Window
await expect(verifySas9Login(popup)).resolves.toEqual({
isLoggedIn: false