fix(school, compare): ISI, not-yet-inspected and further-education states (H4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ab25d83b9d
commit
9feb37b974
12 files changed
+143
-16
No files matched your search
@@ -82,3 +82,14 @@ it('prints an ungraded outcome when there is no grade (Oakgrove)', () => {
|
||||
expect(screen.getByText('No overall grade')).toBeInTheDocument();
|
||||
expect(screen.getByText(/Ungraded inspection, 13 November 2024: Standards maintained/)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('labels a further education record and prints its short inspection (audit H4)', () => {
|
||||
renderSection({
|
||||
framework: 'Further education and skills',
|
||||
current_grade: { grade: 2, date: '2019-03-05', basis: 'graded' },
|
||||
latest_visit: { date: '2023-02-01', kind: 'short', outcome: null },
|
||||
});
|
||||
expect(screen.getByText('Further education and skills')).toBeInTheDocument();
|
||||
expect(screen.getByText('Good')).toBeInTheDocument();
|
||||
expect(screen.getByText('Latest visit: Short inspection, 1 February 2023')).toBeInTheDocument();
|
||||
});
|
||||
Reference in new issue
Block a user