Skip to content

Commit

Permalink
test: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtgnn committed Jul 25, 2024
1 parent 91382d0 commit 2eed0d1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<script src="../../../build/dyne-components.js" nomodule></script>
</head>
<body>
<dyne-slangroom-editor contract=``></dyne-slangroom-editor>
<dyne-slangroom-editor contract=""></dyne-slangroom-editor>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf8" />

<!-- Replace with the path to your entrypoint -->
<script src="../../../build/dyne-components.esm.js" type="module"></script>
<script src="../../../build/dyne-components.js" nomodule></script>
</head>
<body>
<dyne-slangroom-preset-loader editor-id="ok"></dyne-slangroom-preset-loader>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ describe('dyne-slangroom-preset-loader', () => {
await page.setContent('<dyne-slangroom-preset-loader></dyne-slangroom-preset-loader>');

const element = await page.find('dyne-slangroom-preset-loader');
expect(element).toHaveClass('hydrated');
expect(element).toHaveAttribute('editor-id');
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf8" />

<!-- Replace with the path to your entrypoint -->
<script src="../../../build/dyne-components.esm.js" type="module"></script>
<script src="../../../build/dyne-components.js" nomodule></script>
</head>
<body>
<dyne-slangroom-preset></dyne-slangroom-preset>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ describe('dyne-slangroom-preset', () => {
await page.setContent('<dyne-slangroom-preset></dyne-slangroom-preset>');

const element = await page.find('dyne-slangroom-preset');
expect(element).toHaveClass('hydrated');
expect(element).toHaveAttribute('contract');
});
});

0 comments on commit 2eed0d1

Please sign in to comment.