conneroisu / mathjax-linter

Lints Mathjax (Mathematical Equations derived from latex) found in Obsidian Markdown Files with numerous configurations.
3 stars 0 forks source link

Sweep: Needs a testing suite #1

Open conneroisu opened 11 months ago

conneroisu commented 11 months ago

Features: A testing suite is needed for this type of linting project

Checklist - [X] Create `tests/commandHandler.test.ts` ✓ https://github.com/conneroisu/MathjaxLinter/commit/d2b274c437626a3061f8da4ac86d59a8f4b8f61d - [X] Create `tests/settings.test.ts` ✓ https://github.com/conneroisu/MathjaxLinter/commit/3023b27e88a10989aaa14c68ad55410868adb8d7 - [X] Create `tests/main.test.ts` ✓ https://github.com/conneroisu/MathjaxLinter/commit/f45fc55dd2bbe09190b849a0167a61bbcd826045 - [X] Modify `package.json` ✓ https://github.com/conneroisu/MathjaxLinter/commit/05f479f7570e894b228a506a1370d37cadacf108 ![Flowchart](https://raw.githubusercontent.com/conneroisu/MathjaxLinter/sweep/assets/de7db1b7e29b0b8008f205c8bc2fede5cf1763b57f89245e6ccdb357ff577dd4_1_flowchart.svg)
ghost commented 11 months ago

Here's the PR! https://github.com/conneroisu/MathjaxLinter/pull/3.

💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: 47ae6feaa0)

Actions (click)

Sandbox execution failed

The sandbox appears to be unavailable or down.

Install Sweep Configs: Pull Request

Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/manifest.json#L1-L10 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/package.json#L1-L15 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/src/main.ts#L1-L28 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/esbuild.config.mjs#L1-L47 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/README.md#L1-L3 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/src/commandHandler.ts#L1-L40 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/src/settings/DefaultSettings.ts#L1-L4 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/src/settings/PluginSettings.ts#L1-L5 https://github.com/conneroisu/MathjaxLinter/blob/4163ed6227636283dc1a4d052a7aee97e2c904eb/src/settings/SettingsPage.ts#L1-L28

Step 2: ⌨️ Coding


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/add-testing-suite.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord