This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Component Type and Props', function () { | |
it('should be a stateless component', ()=>{ | |
expect(Login.prototype).toNotBeA(React.Component); | |
}); | |
it('should have the correct props defined', ()=>{ | |
var propTypes = { | |
username: PropTypes.string, | |
password: PropTypes.string, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin make-grid($name, $totalWidth, $gutter, $modules){ | |
$moduleWidth: ($totalWidth - ( $modules - 1 )*$gutter ) / $modules; | |
@for $i from 1 through $modules { | |
$finalWidth: $moduleWidth * $i + $gutter*($i - 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin make-grid($name, $totalWidth, $gutter, $modules){ | |
$moduleWidth: ($totalWidth - ( $modules - 1 )*$gutter ) / $modules; | |
@for $i from 1 through $modules { | |
$finalWidth: $moduleWidth * $i + $gutter*($i - 1); |
NewerOlder