minor fixes
This commit is contained in:
parent
51edbb1236
commit
5a024624af
14 changed files with 57 additions and 22 deletions
|
@ -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");
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue