fix: set prototype names on gin::Constructible
classes (#39006)
* fix: set prototype names on gin::Constructible classes * test: add tests
This commit is contained in:
parent
56b5c00312
commit
c7bdd907d7
23 changed files with 71 additions and 15 deletions
|
@ -4,6 +4,10 @@ import { once } from 'node:events';
|
|||
import { ifit } from './lib/spec-helpers';
|
||||
|
||||
describe('Notification module', () => {
|
||||
it('sets the correct class name on the prototype', () => {
|
||||
expect(Notification.prototype.constructor.name).to.equal('Notification');
|
||||
});
|
||||
|
||||
it('is supported', () => {
|
||||
expect(Notification.isSupported()).to.be.a('boolean');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue