• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

code4recovery / tsml-ui / 18451009991

12 Oct 2025 11:29PM UTC coverage: 43.532% (-19.9%) from 63.458%
18451009991

Pull #475

github

web-flow
Merge 9d0374e51 into 0a0ddf96f
Pull Request #475: pretty permalinks

369 of 1009 branches covered (36.57%)

Branch coverage included in aggregate %.

15 of 37 new or added lines in 5 files covered. (40.54%)

236 existing lines in 17 files now uncovered.

553 of 1109 relevant lines covered (49.86%)

4.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/hooks/error.tsx
1
import { createContext, PropsWithChildren, useContext, useState } from 'react';
2

3
const ErrorContext = createContext<{
8✔
4
  error?: string;
5
  setError: (message?: string) => void;
6
}>({ setError: () => {} });
7

8
export const ErrorProvider = ({ children }: PropsWithChildren) => {
8✔
UNCOV
9
  const [error, setError] = useState<string | undefined>();
×
UNCOV
10
  return (
×
11
    <ErrorContext.Provider value={{ error, setError }}>
12
      {children}
13
    </ErrorContext.Provider>
14
  );
15
};
16

17
export const useError = () => useContext(ErrorContext);
10✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc