Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
james04321 committed Mar 18, 2024
1 parent e9798f8 commit c81bbe2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/token_import.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,6 @@ describe('generatePostVariablesPayload', () => {

const result = generatePostVariablesPayload(tokensByFile, localVariablesResponse)

// Since all existing collections and variables are remote, result should be equivalent to an initial sync
expect(result).toEqual({
variableCollections: [],
variableModes: [],
Expand Down Expand Up @@ -802,7 +801,6 @@ describe('generatePostVariablesPayload', () => {
},
}

// Since all existing collections and variables are remote, result should be equivalent to an initial sync
expect(() => {
generatePostVariablesPayload(tokensByFile, localVariablesResponse)
}).toThrowError(`Cannot update remote variable "var1" in collection "collection"`)
Expand Down

0 comments on commit c81bbe2

Please sign in to comment.