Skip to content

Commit

Permalink
Remove getOptions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Sep 14, 2023
1 parent fe4c7e9 commit 7a47e3d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions node-src/lib/getOptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,6 @@ describe('getOptions', () => {
const flags = ['--only-changed', '--externals', 'foo', '--externals', '', '--externals', 'bar'];
expect(getOptions(getContext(flags))).toMatchObject({ externals: ['foo', 'bar'] });
});

it('allows you to override options with extraOptions', async () => {
expect(
getOptions({ ...getContext([]), extraOptions: { projectToken: 'extra-token' } })
).toMatchObject({
projectToken: 'extra-token',
});
});

it('allows you to override options with configuration', async () => {
expect(
getOptions({ ...getContext([]), configuration: { projectToken: 'config-token' } })
).toMatchObject({
projectToken: 'config-token',
});
});
});

describe('getStorybookConfiguration', () => {
Expand Down

0 comments on commit 7a47e3d

Please sign in to comment.