Skip to content

Commit

Permalink
revert #20982
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Mar 14, 2023
1 parent 9148c66 commit 52c5859
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions code/lib/cli/src/generators/configure.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ describe('configurePreview', () => {
"/** @type { import('@storybook/react').Preview } */
const preview = {
parameters: {
backgrounds: {
default: 'light',
},
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
Expand Down Expand Up @@ -157,9 +154,6 @@ describe('configurePreview', () => {
const preview: Preview = {
parameters: {
backgrounds: {
default: 'light',
},
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
Expand Down Expand Up @@ -211,9 +205,6 @@ describe('configurePreview', () => {
const preview: Preview = {
parameters: {
backgrounds: {
default: 'light',
},
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
Expand Down
3 changes: 0 additions & 3 deletions code/lib/cli/src/generators/configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ export async function configurePreview(options: ConfigurePreviewOptions) {
: ''
}const preview${isTypescript ? ': Preview' : ''} = {
parameters: {
backgrounds: {
default: 'light',
},
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
Expand Down

0 comments on commit 52c5859

Please sign in to comment.