mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
fix a typo in the regex for a test (#16253)
Correct the regex to match 1 or 2 digits, not 1 or 2 backslashes Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
a5482f6e6a
commit
f0db77a4b7
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { render, screen } from "@testing-library/react";
|
|||
|
||||
import ReportUpdatedCell from "./ReportUpdatedCell";
|
||||
|
||||
const HUMAN_READABLE_DATETIME_REGEX = /\d{1,2}\/{1,2}\d\/\d\d\d\d, \d{1,2}:\d{1,2}:\d{1,2}\s(A|P)M/;
|
||||
const HUMAN_READABLE_DATETIME_REGEX = /\d{1,2}\/\d{1,2}\/\d\d\d\d, \d{1,2}:\d{1,2}:\d{1,2}\s(A|P)M/;
|
||||
|
||||
describe("ReportUpdatedCell component", () => {
|
||||
it("Renders '---' with tooltip and no link when run on an interval with discard data and automations enabled", () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue