We tend to use describe() for things and context() for context
RSpec book
- wrap a set of tests 'against one functionality'
| {-# language StrictData #-} | |
| module CEK where | |
| -- C -- Control | |
| -- E -- Environment | |
| -- (S) -- Store | |
| -- K -- Continuation | |
| data Exp | |
| = Var String |
| 'use strict'; | |
| var React = require('react-native'); | |
| var Cycle = require('cyclejs'); | |
| var {Rx, h} = Cycle; | |
| var createExperimentalIOSRenderer = require('./src/ios-renderer.ios.js'); | |
| var {StyleSheet, Text, TextInput, View} = React; | |
| var styles = StyleSheet.create({ | |
| container: { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.