Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
remove brackets
rename required to unique in the test description
  • Loading branch information
Peter Maquiran committed Feb 22, 2022
1 parent d336ec5 commit 83a58dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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

</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion test/functionl/model-no-relationship.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83a58dd

Please sign in to comment.