diff --git a/example/index.html b/example/index.html index b88e443..4917d66 100644 --- a/example/index.html +++ b/example/index.html @@ -103,9 +103,9 @@ }); window.conn = a; - window['Connector'] = Connector - window['Model'] = Model - window['RelationTypes'] = RelationTypes + window.Connector = Connector + window.Model = Model + window.RelationTypes = RelationTypes diff --git a/test/functionl/model-no-relationship.test.ts b/test/functionl/model-no-relationship.test.ts index 55ded7e..16b80a9 100644 --- a/test/functionl/model-no-relationship.test.ts +++ b/test/functionl/model-no-relationship.test.ts @@ -11,7 +11,7 @@ describe('simple model', () => { await page.goto(`http://127.0.0.1:${port}/example/index.html`) }) - it('Create model with one attribute that is required', async () => { + it('Create model with one attribute that is unique', async () => { // wait for variables to be present in the dom await page.waitForFunction(() => 'Connector' in window);