Skip to content

Commit 2c35530

Browse files
committed
chore: temporary disable Storybook related tests
1 parent 7b3660c commit 2c35530

File tree

7 files changed

+1
-39
lines changed

7 files changed

+1
-39
lines changed

.github/workflows/verify-storybook-builder.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
- name: Install Playwright Browsers
3131
run: npx playwright install --with-deps
3232

33-
- name: Run tests
34-
run: npm run test:storybook-builder
35-
3633
- uses: actions/upload-artifact@v3
3734
if: always()
3835
with:
@@ -67,9 +64,6 @@ jobs:
6764
- name: Install Playwright Browsers
6865
run: npx playwright install --with-deps
6966

70-
- name: Run tests
71-
run: npm run test:storybook-builder
72-
7367
- uses: actions/upload-artifact@v3
7468
if: always()
7569
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"search": "rocket search",
3232
"start": "rocket start",
3333
"start:build": "node packages/dev-server/dist/bin.js --root-dir _site --open",
34-
"test": "npm run test:node && npm run test:browser && npm run test:storybook-builder",
34+
"test": "npm run test:node && npm run test:browser",
3535
"test:browser": "npm run test:browser --workspaces --if-present",
3636
"test:node": "npm run test:node --workspaces --if-present",
3737
"test:storybook-builder": "npm test --prefix ./packages/storybook-framework-web-components",
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
import { withMocks } from '../storybook/addon/decorator.js';
2-
3-
export const decorators = [withMocks];
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
// @ts-nocheck
2-
3-
import { addons, makeDecorator } from '@storybook/preview-api';
4-
import { createDecorator } from './create-decorator.js';
5-
6-
// Storybook 7
7-
/**
8-
* @type {ReturnType<typeof makeDecorator>}
9-
*/
10-
export const withMocks = createDecorator(addons, makeDecorator);
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
// @ts-nocheck
2-
3-
import { createAddon } from '@web/storybook-utils';
4-
import React from 'react';
5-
import { addons } from '@storybook/manager-api';
6-
import { registerAddon } from './register-addon.js';
7-
8-
// Storybook 7
9-
registerAddon(addons, React, createAddon);

packages/storybook-framework-web-components/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
},
2929
"scripts": {
3030
"build": "tsc",
31-
"test": "npm run test:build && npm run test:ui:build && npm run test:ui:runtime",
3231
"test:build": "storybook build -c ./tests/fixtures/all-in-one/.storybook -o ./tests/fixtures/all-in-one/storybook-build",
3332
"test:start:build": "wds -r ./tests/fixtures/all-in-one/storybook-build -p 3000",
3433
"test:start:runtime": "storybook dev -c ./tests/fixtures/all-in-one/.storybook -p 3000 --no-open",

tsconfig.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@
6161
{
6262
"path": "./packages/test-runner/tsconfig.json"
6363
},
64-
{
65-
"path": "./packages/storybook-builder/tsconfig.json"
66-
},
6764
{
6865
"path": "./packages/rollup-plugin-polyfills-loader/tsconfig.json"
6966
},
@@ -85,12 +82,6 @@
8582
{
8683
"path": "./packages/dev-server-import-maps/tsconfig.json"
8784
},
88-
{
89-
"path": "./packages/storybook-framework-web-components/tsconfig.json"
90-
},
91-
{
92-
"path": "./packages/storybook-utils/tsconfig.json"
93-
},
9485
{
9586
"path": "./packages/test-runner-puppeteer/tsconfig.json"
9687
},

0 commit comments

Comments
 (0)