@storybook/channels
Advanced tools
Comparing version 3.2.15 to 3.2.16
{ | ||
"name": "@storybook/channels", | ||
"version": "3.2.15", | ||
"version": "3.2.16", | ||
"description": "", | ||
@@ -9,6 +9,3 @@ "license": "MIT", | ||
"prepare": "node ../../scripts/prepare.js" | ||
}, | ||
"devDependencies": { | ||
"shelljs": "^0.7.8" | ||
} | ||
} |
@@ -103,4 +103,4 @@ /* eslint no-underscore-dangle: 0 */ | ||
channel.once('type-2', 22); | ||
expect(channel._listeners['type-1'].length).toEqual(1); | ||
expect(channel._listeners['type-2'].length).toEqual(2); | ||
expect(channel._listeners['type-1']).toHaveLength(1); | ||
expect(channel._listeners['type-2']).toHaveLength(2); | ||
}); | ||
@@ -135,4 +135,4 @@ | ||
channel.prependOnceListener('type-2', 22); | ||
expect(channel._listeners['type-1'].length).toEqual(1); | ||
expect(channel._listeners['type-2'].length).toEqual(2); | ||
expect(channel._listeners['type-1']).toHaveLength(1); | ||
expect(channel._listeners['type-2']).toHaveLength(2); | ||
}); | ||
@@ -139,0 +139,0 @@ |
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
0
15550