Skip to content

test: move to vitest #269

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

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft

test: move to vitest #269

wants to merge 31 commits into from

Conversation

9romise
Copy link
Contributor

@9romise 9romise commented Jul 5, 2025

No description provided.

@@ -134,6 +144,7 @@ function analyze(ast, parserOptions) {
key !== "tokens" &&
key !== "trailingComments" &&
typeof value === "object" &&
// @ts-expect-error -- ignore
(typeof value.type === "string" || Array.isArray(value))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems value is always null

},
undefined,
true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

verify has only 3 arguments now.

@@ -455,7 +460,8 @@ describe("parserServices.defineCustomBlocksVisitor tests", () => {
const linter = createLinter()
const config = getConfig(
(lang, block) =>
(lang === "json" && lang === "json5") ||
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this line is using && wrong.

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.

1 participant