Skip to content

Commit c90844a

Browse files
committed
Fix prettier formatting
1 parent 31e72ce commit c90844a

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/artifact-scanner.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ test("makeTestToken", (t) => {
2323
t.is(makeTestToken(255).length, 255);
2424
});
2525

26-
const NEW_FORMAT_GHS_TOKEN =
27-
"ghs_abc123.def456.ghi789_abc123.def456.ghi789";
26+
const NEW_FORMAT_GHS_TOKEN = "ghs_abc123.def456.ghi789_abc123.def456.ghi789";
2827

2928
test("isAuthToken", (t) => {
3029
// Undefined for strings that aren't tokens
@@ -36,10 +35,7 @@ test("isAuthToken", (t) => {
3635
t.is(isAuthToken(`ghp_${makeTestToken()}`), TokenType.PersonalAccessClassic);
3736
t.is(isAuthToken(`ghp_${makeTestToken()}`), TokenType.PersonalAccessClassic);
3837
t.is(isAuthToken(NEW_FORMAT_GHS_TOKEN), TokenType.ServerToServer);
39-
t.is(
40-
isAuthToken(`ghs_${makeTestToken(255)}`),
41-
TokenType.ServerToServer,
42-
);
38+
t.is(isAuthToken(`ghs_${makeTestToken(255)}`), TokenType.ServerToServer);
4339
t.is(
4440
isAuthToken(`github_pat_${makeTestToken(22)}_${makeTestToken(59)}`),
4541
TokenType.PersonalAccessFineGrained,

0 commit comments

Comments
 (0)