Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #26 #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix #26 #27

wants to merge 1 commit into from

Conversation

TS-Hsu
Copy link
Collaborator

@TS-Hsu TS-Hsu commented Mar 5, 2024

Fix the dist can't clean automatic problem.
By using rimraf replace rmdir.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall be deleted and use yarn lock instead

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm this file and rm rf node mudles , run yarn install to get new lock json

}
browser = null;
// browser = null;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall not be committed, this is for dev only

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this file as well as package-lock, run yarn again to make sure this requires being changed

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this file~

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this binary is not necessary for all platform & why do we need to commit this

Copy link
Owner

@Shiou-Ju Shiou-Ju Mar 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these seems not necessary for changing

@@ -41,5 +41,9 @@
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need these two ?

and if needed, shall we put here instead of devDependency?

Comment on lines +148 to 154
await rightClickOnElement(page, SELECTORS.EXPLANATION_SECTORS); // 可能有問題
// console.log(__dirname)

await pause(1000);
// await execAsync(`python ${__dirname}/scripts/choose_copy_context_menu.py`);

const copiedText = await page.evaluate(() => navigator.clipboard.readText());
// await pause(1000);

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this ?


expect(copiedText.startsWith(prefix)).toBeFalsy();
expect(copiedText).toMatch(TEXT_REGEX);
}, 10000);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are for dev only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants