Skip to content

Commit c4b37e6

Browse files
committed
Prettier/linter
1 parent eaeaa6a commit c4b37e6

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/feature-flags/feature-flags.spec.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ describe('FeatureFlags', () => {
109109
it('requests a feature flag by slug', async () => {
110110
fetchOnce(getFeatureFlagFixture);
111111

112-
const subject =
113-
await workos.featureFlags.getFeatureFlag('advanced-dashboard');
112+
const subject = await workos.featureFlags.getFeatureFlag(
113+
'advanced-dashboard',
114+
);
114115

115116
expect(fetchURL()).toContain('/feature-flags/advanced-dashboard');
116117
expect(subject).toEqual({
@@ -132,8 +133,9 @@ describe('FeatureFlags', () => {
132133
it('enables a feature flag by slug', async () => {
133134
fetchOnce(enableFeatureFlagFixture);
134135

135-
const subject =
136-
await workos.featureFlags.enableFeatureFlag('advanced-dashboard');
136+
const subject = await workos.featureFlags.enableFeatureFlag(
137+
'advanced-dashboard',
138+
);
137139

138140
expect(fetchURL()).toContain('/feature-flags/advanced-dashboard/enable');
139141
expect(fetchMethod()).toBe('PUT');
@@ -145,8 +147,9 @@ describe('FeatureFlags', () => {
145147
it('disables a feature flag by slug', async () => {
146148
fetchOnce(disableFeatureFlagFixture);
147149

148-
const subject =
149-
await workos.featureFlags.disableFeatureFlag('advanced-dashboard');
150+
const subject = await workos.featureFlags.disableFeatureFlag(
151+
'advanced-dashboard',
152+
);
150153

151154
expect(fetchURL()).toContain('/feature-flags/advanced-dashboard/disable');
152155
expect(fetchMethod()).toBe('PUT');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { PaginationOptions } from '../../common/interfaces';
22

3-
export interface ListFeatureFlagsOptions extends PaginationOptions {}
3+
export type ListFeatureFlagsOptions = PaginationOptions;

0 commit comments

Comments
 (0)