Skip to content

Commit

Permalink
Modify regular expression to validate opening to the nist.gov website.
Browse files Browse the repository at this point in the history
  • Loading branch information
JCantu248 committed Mar 25, 2024
1 parent e581670 commit 1242464
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test('Vulnerability details NIST', async () => {
const newTab = await newTabPromise;
await newTab.waitForLoadState();
await expect(newTab).toHaveURL(
new RegExp('^https://nvd.nist.gov/vuln/detail/')
new RegExp('^https://nvd\\.nist.gov/vuln/detail/')
);
});

Expand Down

0 comments on commit 1242464

Please sign in to comment.