Skip to content

Commit 4dffcab

Browse files
committed
test: fix timeout and update schema hash snapshot
- Add 15s timeout to array import test (was missing, causing timeouts) - Update schema hash snapshot after reformatting to 4-space indentation - All 1295 tests passing Related to schema sync with trodes_to_nwb main branch
1 parent 6948ce2 commit 4dffcab

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/__tests__/integration/__snapshots__/schema-contracts.test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ exports[`BASELINE: Integration Contracts > Device Types Contract > verifies devi
2626
}
2727
`;
2828

29-
exports[`BASELINE: Integration Contracts > Schema Hash > documents current schema version > schema-hash 1`] = `"1692346308bad1f177b1464d554de51797e113ee5a73fedf17dbc1995eca270c"`;
29+
exports[`BASELINE: Integration Contracts > Schema Hash > documents current schema version > schema-hash 1`] = `"a15136fd1086fde303e219350db6069e07225608dc8fda96e5be11db9dfe8e22"`;
3030

3131
exports[`BASELINE: Integration Contracts > Schema Hash > verifies schema sync with trodes_to_nwb (if available) > schema-sync-status 1`] = `
3232
{
33-
"inSync": false,
34-
"trodesHash": "10963b0c1dbda6f8",
35-
"webAppHash": "1692346308bad1f1",
33+
"inSync": true,
34+
"trodesHash": "a15136fd1086fde3",
35+
"webAppHash": "a15136fd1086fde3",
3636
}
3737
`;
3838

src/__tests__/integration/import-export-workflow.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('Import/Export Workflow Integration', () => {
143143
const taskNameInputs = screen.getAllByLabelText(/task name/i);
144144
expect(taskNameInputs).toHaveLength(2);
145145
expect(taskNameInputs[0]).toHaveValue("Sleep");
146-
});
146+
}, 15000); // 15 second timeout - imports YAML file
147147

148148
/**
149149
* Test 3: Import YAML and verify nested object structure (subject)

0 commit comments

Comments
 (0)