storybook-addon-specifications
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -54,3 +54,3 @@ "use strict"; | ||
this.props.channel.on(_.EVENT_ID, this._listener); | ||
this.props.channel.on('setCurrentStory', function (data) { | ||
this.props.api.onStory(function (data) { | ||
_this2.setState({ results: { wrongResults: [], goodResults: [] } }); | ||
@@ -57,0 +57,0 @@ }); |
{ | ||
"name": "storybook-addon-specifications", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Add tests to your react storybook stories", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,2 +5,3 @@ import React, {Component} from "react"; | ||
export default class Specifications extends Component { | ||
@@ -15,3 +16,3 @@ constructor(props, ...args) { | ||
this.props.channel.on(EVENT_ID, this._listener); | ||
this.props.channel.on('setCurrentStory', (data) => { | ||
this.props.api.onStory((data) => { | ||
this.setState({ results: { wrongResults: [], goodResults: [] } }); | ||
@@ -18,0 +19,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221482