Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup jsdom related code #67

Merged
merged 1 commit into from
Mar 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Storybook contributors
Copyright (c) 2022 Storybook contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 0 additions & 15 deletions jsdom-jest.config.js

This file was deleted.

20 changes: 0 additions & 20 deletions jsdom/transform.js

This file was deleted.

1 change: 0 additions & 1 deletion mocks/fileMock.js

This file was deleted.

1 change: 0 additions & 1 deletion mocks/htmlMock.js

This file was deleted.

1 change: 0 additions & 1 deletion mocks/styleMock.js

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
"dist/**/*",
"README.md",
"playwright",
"jsdom",
"mocks",
"*.js",
"*.d.ts"
],
Expand All @@ -43,13 +41,11 @@
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
"build-storybook": "build-storybook",
"release": "yarn build && auto shipit",
"test-storybook": "node bin/test-storybook.js --no-cache",
"test-storybook": "node bin/test-storybook.js",
"test-storybook:no-cache": "yarn test-storybook --no-cache",
"test-storybook:json": "yarn test-storybook --stories-json",
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook\"",
"test-storybook:ci-json": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook --stories-json\"",
"test-storybook:jsdom": "jest --no-cache --config ./jsdom-jest.config.js -i",
"test-storybook:playwright-no-cache": "jest --no-cache --config ./test-runner-jest.config.js",
"test-storybook:playwright": "./bin/test-storybook.js",
"test-storybook:playwright-json": "./bin/test-storybook.js --stories-json",
"test-storybook:ci-json": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook:json\"",
"generate-dynamic-stories": "node scripts/generate-dynamic-stories.js"
},
"bin": {
Expand Down
12 changes: 0 additions & 12 deletions preset.js

This file was deleted.

14 changes: 0 additions & 14 deletions src/jsdom/index.ts

This file was deleted.

43 changes: 0 additions & 43 deletions src/jsdom/transformJsdom.test.ts

This file was deleted.

29 changes: 0 additions & 29 deletions src/jsdom/transformJsdom.ts

This file was deleted.