Skip to content

Commit

Permalink
Fix unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Jul 18, 2024
1 parent bfa9ad6 commit 8a17174
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions holo-key-manager-js-client/tests/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
document.getElementById(buttonId).addEventListener('click', async () => {
const resultElement = document.getElementById(`${buttonId}Result`);
try {
console.log('Action:', action);
const result = await action();
resultElement.textContent = `${buttonId} successful: ${JSON.stringify(result)}`;
} catch (error) {
console.log('Error:', error);
resultElement.textContent = `Error: ${error.message}`;
}
});
Expand Down
2 changes: 0 additions & 2 deletions tests/needsSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { expect } from 'vitest';

import { findTextBySelector } from './helpers';

// import { findTextBySelector } from './helpers';

export default async function needsSetupTest(browser: Browser) {
const page = await browser.newPage();
await page.goto('http://localhost:3007/tests/test.html');
Expand Down

0 comments on commit 8a17174

Please sign in to comment.