Real unit test (isolation, no children render)
Calls:
- constructor
- render
Rancher is an open source project that provides a complete platform for operating Docker in production. It provides infrastructure services such as multi-host networking, global and local load balancing, and volume snapshots.
This documentation describes how to run Rancher localy for development and evaluation propuses.
I'm using Docker for OSX (native) but even for this to work you will need to install VirtualBox.
While tests run in source order, surrounding code does not which can lead to hard to debug issues.
Compare the test file below with the sample output below that and note the order of the log messages.
it
, beforeAll
, afterAll
, beforeEach
or afterEach
runs immediately on initialisation.{ | |
"basics": { | |
"name": "Your first and last name", | |
"label": "", | |
"picture": "", | |
"email": "Your email address", | |
"phone": "A phone number, with any formatting you like. E.g. (555) 555-5555.", | |
"degree": "", | |
"website": "Your website URL", | |
"summary": "A one-sentence to one-paragraph overview text. Do not include any line-breaks.", |
Many of us building single-page apps today use JavaScript module bundling tools that trend towards a monolithic "bundle.js" file including the full app and vendor code for multiple routes. This means if a user lands on any arbitrary route they need to wait for a large bundle of JS to be fetched, parsed and executed before the application is fully rendered and interactive.
This is a little backwards, especially when apps are used under real-world network (3G) and device
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>AWS Cognito + Facebook Login JavaScript Example</title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.41.min.js"></script> | |
<script> | |
These rules are adopted from the AngularJS commit conventions.