From bf725295b43da15bc3c60b9a255a40c8c5b47269 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Tue, 22 Feb 2022 14:40:50 +0100 Subject: [PATCH] Code reveiw remove brackets rename required to unique in the test description --- example/index.html | 6 +++--- test/functionl/model-no-relationship.test.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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);