Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
n4bb12 committed May 30, 2024
1 parent 942d88f commit fff1d34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/npm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ describe("npm", () => {

it("save commands match the snapshot", () => {
const command1 = getNpmSaveCommand(testRegistryUrl, testNpmToken)
expect(command1).toMatchInlineSnapshot(`"npm config set //localhost:4873/:_authToken "test-npm-token""`)
expect(command1).toMatchInlineSnapshot(
`"npm config set //localhost:4873/:_authToken "test-npm-token""`,
)

const command2 = getNpmSaveCommand(testRegistryUrl + "/", testNpmToken)
expect(command2).toMatchInlineSnapshot(`"npm config set //localhost:4873/:_authToken "test-npm-token""`)
expect(command2).toMatchInlineSnapshot(
`"npm config set //localhost:4873/:_authToken "test-npm-token""`,
)
})
})

0 comments on commit fff1d34

Please sign in to comment.