Socket
Socket
Sign inDemoInstall

@storybook/addon-jest

Package Overview
Dependencies
Maintainers
10
Versions
1851
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-jest - npm Package Compare versions

Comparing version 4.0.0-alpha.18 to 4.0.0-alpha.20

4

dist/components/Indicator.js

@@ -14,7 +14,7 @@ "use strict";

var _reactEmotion = _interopRequireDefault(require("react-emotion"));
var _styled = _interopRequireDefault(require("@emotion/styled"));
var Indicator =
/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "ebptffi0"

@@ -21,0 +21,0 @@ })(function (_ref) {

@@ -16,3 +16,3 @@ "use strict";

var _reactEmotion = _interopRequireDefault(require("react-emotion"));
var _styled = _interopRequireDefault(require("@emotion/styled"));

@@ -29,3 +29,3 @@ var _Indicator = _interopRequireDefault(require("./Indicator"));

/*#__PURE__*/
(0, _reactEmotion.default)('ul', {
(0, _styled.default)("ul", {
target: "e1chx92q0"

@@ -40,3 +40,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('li', {
(0, _styled.default)("li", {
target: "e1chx92q1"

@@ -50,3 +50,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "e1chx92q2"

@@ -59,3 +59,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('h2', {
(0, _styled.default)("h2", {
target: "e1chx92q3"

@@ -69,3 +69,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "e1chx92q4"

@@ -81,3 +81,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref) {
(0, _styled.default)(function (_ref) {
var successNumber = _ref.successNumber,

@@ -111,3 +111,3 @@ failedNumber = _ref.failedNumber,

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref2) {
(0, _styled.default)(function (_ref2) {
var successNumber = _ref2.successNumber,

@@ -149,3 +149,3 @@ result = _ref2.result,

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "e1chx92q7"

@@ -158,3 +158,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref3) {
(0, _styled.default)(function (_ref3) {
var tests = _ref3.tests,

@@ -161,0 +161,0 @@ className = _ref3.className;

@@ -14,3 +14,3 @@ "use strict";

var _reactEmotion = _interopRequireDefault(require("react-emotion"));
var _styled = _interopRequireDefault(require("@emotion/styled"));

@@ -25,3 +25,3 @@ var _provideJestResult = _interopRequireDefault(require("../hoc/provideJestResult"));

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "eq6e62z0"

@@ -34,3 +34,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "eq6e62z1"

@@ -37,0 +37,0 @@ })({

@@ -16,3 +16,3 @@ "use strict";

var _reactEmotion = _interopRequireDefault(require("react-emotion"));
var _styled = _interopRequireDefault(require("@emotion/styled"));

@@ -27,3 +27,3 @@ var _components = require("@storybook/components");

/*#__PURE__*/
(0, _reactEmotion.default)('pre', {
(0, _styled.default)("pre", {
target: "efeusp40"

@@ -35,3 +35,3 @@ })((0, _objectSpread2.default)({

/*#__PURE__*/
(0, _reactEmotion.default)('div', {
(0, _styled.default)("div", {
target: "efeusp41"

@@ -47,3 +47,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('strong', {
(0, _styled.default)("strong", {
target: "efeusp42"

@@ -56,3 +56,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('strong', {
(0, _styled.default)("strong", {
target: "efeusp43"

@@ -65,3 +65,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref) {
(0, _styled.default)(function (_ref) {
var trace = _ref.trace,

@@ -86,3 +86,3 @@ className = _ref.className;

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref2) {
(0, _styled.default)(function (_ref2) {
var msg = _ref2.msg,

@@ -101,3 +101,3 @@ className = _ref2.className;

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref3) {
(0, _styled.default)(function (_ref3) {
var msg = _ref3.msg,

@@ -282,3 +282,3 @@ className = _ref3.className;

/*#__PURE__*/
(0, _reactEmotion.default)('header', {
(0, _styled.default)("header", {
target: "efeusp47"

@@ -292,3 +292,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)('h3', {
(0, _styled.default)("h3", {
target: "efeusp48"

@@ -301,3 +301,3 @@ })({

/*#__PURE__*/
(0, _reactEmotion.default)(function (_ref5) {
(0, _styled.default)(function (_ref5) {
var fullName = _ref5.fullName,

@@ -304,0 +304,0 @@ title = _ref5.title,

{
"name": "@storybook/addon-jest",
"version": "4.0.0-alpha.18",
"version": "4.0.0-alpha.20",
"description": "React storybook addon that show component jest report",

@@ -28,7 +28,7 @@ "keywords": [

"dependencies": {
"@storybook/addons": "4.0.0-alpha.18",
"@storybook/components": "4.0.0-alpha.18",
"@emotion/styled": "0.10.5",
"@storybook/addons": "4.0.0-alpha.20",
"@storybook/components": "4.0.0-alpha.20",
"global": "^4.3.2",
"prop-types": "^15.6.2",
"react-emotion": "^9.2.6",
"util-deprecate": "^1.0.2"

@@ -35,0 +35,0 @@ },

import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from '@emotion/styled';
const Indicator = styled('div')(
const Indicator = styled.div(
({ color, size }) => ({

@@ -7,0 +7,0 @@ boxSizing: 'border-box',

import React from 'react';
import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from '@emotion/styled';

@@ -10,3 +10,3 @@ import Indicator from './Indicator';

const List = styled('ul')({
const List = styled.ul({
listStyle: 'none',

@@ -18,3 +18,3 @@ fontSize: 14,

const Item = styled('li')({
const Item = styled.li({
display: 'block',

@@ -25,3 +25,3 @@ margin: '10px 0',

const NoTests = styled('div')({
const NoTests = styled.div({
padding: '10px 20px',

@@ -31,3 +31,3 @@ flex: 1,

const FileTitle = styled('h2')({
const FileTitle = styled.h2({
margin: 0,

@@ -38,3 +38,3 @@ fontWeight: 500,

const SuiteHead = styled('div')({
const SuiteHead = styled.div({
display: 'flex',

@@ -97,3 +97,3 @@ alignItems: 'baseline',

const SuiteTitle = styled('div')({
const SuiteTitle = styled.div({
display: 'flex',

@@ -100,0 +100,0 @@ alignItems: 'center',

import React from 'react';
import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from '@emotion/styled';

@@ -10,7 +10,7 @@ import provideJestResult from '../hoc/provideJestResult';

const Wrapper = styled('div')({
const Wrapper = styled.div({
display: 'flex',
alignItems: 'center',
});
const PanelName = styled('div')({
const PanelName = styled.div({
paddingLeft: 5,

@@ -17,0 +17,0 @@ });

import React from 'react';
import PropTypes from 'prop-types';
import styled from 'react-emotion';
import styled from '@emotion/styled';
import { monoFonts } from '@storybook/components';

@@ -10,3 +10,3 @@

const Pre = styled('pre')({
const Pre = styled.pre({
margin: 0,

@@ -16,3 +16,3 @@ ...monoFonts,

const FlexContainer = styled('div')({
const FlexContainer = styled.div({
display: 'flex',

@@ -25,7 +25,7 @@ alignItems: 'center',

const Positive = styled('strong')({
const Positive = styled.strong({
color: colors.success,
fontWeight: 500,
});
const Negative = styled('strong')({
const Negative = styled.strong({
color: colors.error,

@@ -194,3 +194,3 @@ fontWeight: 500,

const Head = styled('header')({
const Head = styled.header({
display: 'flex',

@@ -201,3 +201,3 @@ justifyContent: 'space-between',

const Title = styled('h3')({
const Title = styled.h3({
padding: '10px 10px 0 10px',

@@ -204,0 +204,0 @@ margin: 0,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc