mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-23 22:06:04 +00:00
fix(ci): read package.json as utf-8 in tree-sitter readiness test
This commit is contained in:
parent
1cf2601fc2
commit
039fd657e2
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ class ReportRendering(TestCase):
|
|||
self.assertIn("can drop: bump to `9.9.9`", line(f"{_R_GRAMMAR}@1.1.2"))
|
||||
|
||||
def test_target_runtime_is_the_bundled_pin(self):
|
||||
pkg = json.loads((_REPO_ROOT / "gitnexus" / "package.json").read_text())
|
||||
pkg = json.loads((_REPO_ROOT / "gitnexus" / "package.json").read_text(encoding="utf-8"))
|
||||
self.assertEqual(readiness.TARGET_RUNTIME, pkg["dependencies"]["tree-sitter"])
|
||||
self.assertIn(f"Bundled runtime `tree-sitter@{readiness.TARGET_RUNTIME}`", self.report)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue