🐛 fix(remote-browser): Remove unused test() function (#4155)

* fix

* fix lint

* Update Notifications.vue

* Update ActionInput.vue
This commit is contained in:
DevMirza 2023-12-03 17:27:09 +05:00 committed by GitHub
parent 46432618e1
commit db7a92a74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 13 deletions

View file

@ -1,5 +1,5 @@
const { R } = require("redbean-node");
const { testRemoteBrowser } = require("./monitor-types/real-browser-monitor-type.js");
class RemoteBrowser {
/**
@ -67,16 +67,6 @@ class RemoteBrowser {
await R.trash(bean);
}
/**
* Tests the connection to Remote Browser
* @param {object} remoteBrowser Docker host to check for
* @returns {boolean} Returns if connection worked
*/
static async test(remoteBrowser) {
const testResult = await testRemoteBrowser(remoteBrowser.id, remoteBrowser.user_id);
return testResult;
}
}
module.exports = {