chore(tsconfig): turn off the Schema-over-JSON diagnostic in test files (#16375)
Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
32 files changed
+14
-192
No files matched your search
@@ -790,7 +790,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 13,
|
||||
@@ -835,7 +834,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 14,
|
||||
@@ -875,7 +873,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 0,
|
||||
@@ -928,7 +925,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 16,
|
||||
@@ -1042,7 +1038,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr]), JSON.stringify([existingPr])],
|
||||
},
|
||||
});
|
||||
@@ -1095,7 +1090,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 217,
|
||||
@@ -1138,7 +1132,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 114,
|
||||
@@ -1244,7 +1237,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 216,
|
||||
@@ -1296,7 +1288,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 221,
|
||||
@@ -1347,7 +1338,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 217,
|
||||
@@ -1410,7 +1400,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"feature/deleted-fork-branch": JSON.stringify([
|
||||
{
|
||||
number: 218,
|
||||
@@ -1492,7 +1481,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 219,
|
||||
@@ -1545,7 +1533,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 220,
|
||||
@@ -1719,7 +1706,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 215,
|
||||
@@ -1768,7 +1754,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 214,
|
||||
@@ -1991,7 +1976,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 1661,
|
||||
@@ -2045,7 +2029,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 488,
|
||||
@@ -2111,7 +2094,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
main: JSON.stringify([
|
||||
{
|
||||
number: 777,
|
||||
@@ -2187,7 +2169,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"effect-atom": JSON.stringify([
|
||||
{
|
||||
number: 1618,
|
||||
@@ -2199,7 +2180,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
updatedAt: "2026-03-01T10:00:00Z",
|
||||
},
|
||||
]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"upstream/effect-atom": JSON.stringify([
|
||||
{
|
||||
number: 1518,
|
||||
@@ -2250,7 +2230,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 22,
|
||||
@@ -2289,7 +2268,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 23,
|
||||
@@ -2325,7 +2303,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 54,
|
||||
@@ -2365,7 +2342,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"feature/pushed-plain": JSON.stringify([
|
||||
{
|
||||
number: 88,
|
||||
@@ -2420,7 +2396,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"feature/fork-plain": JSON.stringify([
|
||||
{
|
||||
number: 89,
|
||||
@@ -2476,7 +2451,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"feature/fork-settle": JSON.stringify([
|
||||
{
|
||||
number: 91,
|
||||
@@ -2524,7 +2498,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// Fake gh returns raw JSON stdout, matching the CLI boundary under test.
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"feature/sticky-plain": JSON.stringify([
|
||||
{
|
||||
number: 90,
|
||||
@@ -2564,7 +2537,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 45,
|
||||
@@ -2698,7 +2670,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr])],
|
||||
failWith: new GitHubCli.GitHubCliUnavailableError({
|
||||
command: "gh",
|
||||
@@ -2742,7 +2713,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr])],
|
||||
failWith: new GitHubCli.GitHubCliUnavailableError({
|
||||
command: "gh",
|
||||
@@ -2791,7 +2761,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr])],
|
||||
failWith: new GitHubCli.GitHubCliUnavailableError({
|
||||
command: "gh",
|
||||
@@ -2831,7 +2800,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr])],
|
||||
failWith: new GitHubCli.GitHubCliUnavailableError({
|
||||
command: "gh",
|
||||
@@ -2874,7 +2842,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
};
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
prListSequence: [JSON.stringify([existingPr])],
|
||||
failWith: new GitHubCli.GitHubCliUnavailableError({
|
||||
command: "gh",
|
||||
@@ -3469,7 +3436,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 77,
|
||||
@@ -3605,7 +3571,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 303,
|
||||
@@ -3652,7 +3617,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 404,
|
||||
@@ -3704,7 +3668,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
defaultBranch: "",
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 505,
|
||||
@@ -3744,7 +3707,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 42,
|
||||
@@ -3798,7 +3760,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 142,
|
||||
@@ -3875,7 +3836,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"effect-atom": JSON.stringify([
|
||||
{
|
||||
number: 1618,
|
||||
@@ -3885,7 +3845,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
headRefName: "effect-atom",
|
||||
},
|
||||
]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"upstream/effect-atom": JSON.stringify([
|
||||
{
|
||||
number: 1518,
|
||||
@@ -3935,9 +3894,7 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"t3code/pr-142/statemachine": JSON.stringify([]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
statemachine: JSON.stringify([
|
||||
{
|
||||
number: 41,
|
||||
@@ -4003,7 +3960,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListByHeadSelector: {
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
statemachine: JSON.stringify([
|
||||
{
|
||||
number: 142,
|
||||
@@ -4021,7 +3977,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
},
|
||||
},
|
||||
]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
"t3code/pr-142/statemachine": JSON.stringify([]),
|
||||
},
|
||||
},
|
||||
@@ -4264,7 +4219,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
"[]",
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 88,
|
||||
@@ -4385,7 +4339,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager, ghCalls } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 1661,
|
||||
@@ -4403,7 +4356,6 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
},
|
||||
},
|
||||
]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 188,
|
||||
@@ -4466,9 +4418,7 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
ghScenario: {
|
||||
prListSequenceByHeadSelector: {
|
||||
statemachine: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 188,
|
||||
@@ -6084,9 +6034,7 @@ it.layer(layerGitManagerTest)("GitManager", (it) => {
|
||||
const { manager } = yield* makeManager({
|
||||
ghScenario: {
|
||||
prListSequence: [
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([]),
|
||||
// @effect-diagnostics-next-line preferSchemaOverJson:off
|
||||
JSON.stringify([
|
||||
{
|
||||
number: 201,
|
||||
|
||||
Reference in new issue
Block a user