minor fixes

This commit is contained in:
Ilya Kantor 2021-01-23 23:30:28 +03:00
parent 51edbb1236
commit 5a024624af
14 changed files with 57 additions and 22 deletions

View file

@ -0,0 +1,14 @@
let nativeAlert = globalThis.alert;
globalThis.alert = jasmine.createSpy();
describe("Test", function() {
after(function() {
globalThis.alert = this.alert;
});
it(`user and admin equal "John"`, function() {
expect(user).toEqual("John");
expect(admin).toEqual("John");
});
});