Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyphu committed Sep 13, 2024
1 parent 7fa4c15 commit f7debd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/fga/fga-live-test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ describe.skip('FGA Live Test', () => {
resource: newPermission,
relation: 'member',
subject: user2,
policy: 'region == \'us\''
policy: 'region == "us"',
});
expect(warrant2.warrantToken).toBeDefined();

Expand All @@ -685,7 +685,7 @@ describe.skip('FGA Live Test', () => {
expect(warrants1.data[0].relation).toEqual('member');
expect(warrants1.data[0].subject.resourceType).toEqual('user');
expect(warrants1.data[0].subject.resourceId).toEqual(user2.resourceId);
expect(warrants1.data[0].policy).toEqual('region == \'us\'');
expect(warrants1.data[0].policy).toEqual('region == "us"');

const warrants2 = await workos.fga.listWarrants(
{ limit: 1, after: warrants1.listMetadata.after },
Expand Down
4 changes: 2 additions & 2 deletions src/fga/fga.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ describe('FGA', () => {
resource_type: 'user',
resource_id: 'user_124',
},
policy: 'region == \'us\'',
policy: 'region == "us"',
},
],
list_metadata: {
Expand Down Expand Up @@ -534,7 +534,7 @@ describe('FGA', () => {
resourceType: 'user',
resourceId: 'user_124',
},
policy: 'region == \'us\'',
policy: 'region == "us"',
},
]);
});
Expand Down

0 comments on commit f7debd2

Please sign in to comment.