Skip to content

Conversation

handrews
Copy link
Member

We were not actually using the correct schema for our testing, which meant that we were not covering the Schema Object at all. This fixes that, at least for the npm run tests with coverage. The same could also be done in tests/schema/schema.test.mjs but I can't figure out what that script is for- is it redundant? Can we delete it or consolidate it with the coverage one?

Note that we will need to modify the jsonSchemaDialect test per dev branch, which is why I split it out into its own file instead of leaving it in mega.yaml.

We do not have full coverage anyway on dev, but I will work on it for v3.1-dev and v3.2-dev.

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

@handrews handrews added the script Pull requests that update Bash or JavaScript code label Jun 13, 2025
@handrews handrews requested review from a team as code owners June 13, 2025 01:09
handrews added 2 commits June 12, 2025 18:11
Since we are testing with a placeholder, we need to match
the placeholder.  This will unfortunately need to be different
on each new release line branch, so let's separate this test
case into its own file.
@handrews
Copy link
Member Author

Arg- apparently this needs to start on main even though we don't have tests there? I'll close this and re-submit

@handrews handrews closed this Jun 13, 2025
@handrews handrews deleted the cov branch June 19, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

script Pull requests that update Bash or JavaScript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant