diff --git a/package.json b/package.json
index 117e8fc..b145701 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
],
"author": "Vaadin Ltd",
"license": "https://raw.githubusercontent.com/vaadin/vaadin-crud/master/LICENSE",
+ "cvdlName": "vaadin-crud",
"bugs": {
"url": "https://github.com/vaadin/vaadin-crud/issues"
},
diff --git a/src/vaadin-crud.html b/src/vaadin-crud.html
index 775b5ea..caf6cb5 100644
--- a/src/vaadin-crud.html
+++ b/src/vaadin-crud.html
@@ -223,6 +223,10 @@
[[__computeEditorHeader(__isNew, i18n.newItem, i18n.editItem)]
return '1.3.1';
}
+ static get cvdlName() {
+ return 'vaadin-crud';
+ }
+
static get properties() {
return {
/**
diff --git a/test/crud-test.html b/test/crud-test.html
index 9073d32..a180b32 100644
--- a/test/crud-test.html
+++ b/test/crud-test.html
@@ -77,6 +77,10 @@
expect(customElements.get('vaadin-crud').version).to.be.ok;
});
+ it('should have a valid cvdl getter', () => {
+ expect(customElements.get('vaadin-crud').cvdlName).to.be.equal('vaadin-crud');
+ });
+
describe('declarative', () => {
beforeEach(done => {
crud = fixture('declarative');