Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-status

Package Overview
Dependencies
Maintainers
8
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-status - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

tests/nightwatch/StatusNoColor.jsx

2

lib/Status.js

@@ -39,3 +39,3 @@ 'use strict';

*/
color: _propTypes2.default.string.isRequired
color: _propTypes2.default.string
};

@@ -42,0 +42,0 @@

{
"name": "terra-status",
"main": "lib/Status.js",
"version": "0.3.2",
"version": "0.3.3",
"description": "The status component provides a customizable color indictor to signify a specific condition.",

@@ -6,0 +6,0 @@ "repository": {

@@ -54,1 +54,8 @@ /* eslint-disable import/no-extraneous-dependencies */

});
// No Color Provided
it('should render status with no style', () => {
const statusNoColor = <Status>{simpleText}</Status>;
const wrapper = render(statusNoColor);
expect(wrapper).toMatchSnapshot();
});

@@ -36,2 +36,7 @@ /* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */

},
'Displays status with no style': (browser) => {
browser
.url(`http://localhost:${browser.globals.webpackDevServerPort}/#/tests/status-tests/no-color`)
.waitForElementVisible('.terra-Status', 1000);
},
};

@@ -10,2 +10,3 @@ /* eslint-disable import/no-extraneous-dependencies */

import StatusImage from './StatusImage';
import StatusNoColor from './StatusNoColor';

@@ -19,2 +20,3 @@ const routes = (

<Route path="/tests/status-tests/image" component={StatusImage} />
<Route path="/tests/status-tests/no-color" component={StatusNoColor} />
</div>

@@ -21,0 +23,0 @@ );

@@ -13,2 +13,3 @@ /* eslint-disable import/no-extraneous-dependencies */

<li><Link to="/tests/status-tests/image">Status Image</Link></li>
<li><Link to="/tests/status-tests/no-color">Status No Color</Link></li>
</ul>

@@ -15,0 +16,0 @@ </div>

Sorry, the diff of this file is not supported yet

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