test for load/create methods

This commit is contained in:
Niels Lyngsø
2023-01-27 11:51:12 +01:00
parent 3b7e0856eb
commit 32729f98ad

View File

@@ -18,12 +18,12 @@ describe('UmbDocumentWorkspaceElement', () => {
await expect(element).to.be.accessible(defaultA11yConfig);
});
describe('properties', () => {
it('has a entityKey property', () => {
expect(element).to.have.property('entityKey');
describe('methods', () => {
it('has a load method', () => {
expect(element).to.have.property('load').that.is.a('function');
});
it('has a create property', () => {
expect(element).to.have.property('create');
it('has a create method', () => {
expect(element).to.have.property('create').that.is.a('function');
});
});
});