Real unit test (isolation, no children render)
Calls:
- constructor
- render
| import React, { Component } from 'react'; | |
| class App extends Component { | |
| constructor () { | |
| super() | |
| this.state = { | |
| name: null, | |
| imgUrl: null | |
| } | |
| } |
| # Bindings de keys | |
| set -g prefix C-a | |
| # Free the original key binding | |
| unbind C-b | |
| # Setting the delay between the prefix and command | |
| set -sg escape-time 1 | |
| # Ensure that we can send Ctrl-A to other apps |
| 'use strict'; | |
| function BinarySearchTree() { | |
| this.root = null; | |
| } | |
| BinarySearchTree.prototype.insertNode = function (val) { | |
| var node = { | |
| data : val, |
| # Zathura configuration file | |
| # See man `man zathurarc' | |
| # Open document in fit-width mode by default | |
| set adjust-open "best-fit" | |
| # One page per row by default | |
| set pages-per-row 1 | |
| #stop at page boundries |