Skip to content

Instantly share code, notes, and snippets.

Avatar

Giovanni Puntil giopunt

View GitHub Profile
@giopunt
giopunt / README.md
Last active Sep 6, 2018
JS Unit Tests 101
View README.md

JS UNIT TESTS 101 👍

Create a basic project

Let's start by opening a new console/terminal window from a convenient working directory and type:

$ mkdir js-unit-test-101
$ cd js-unit-test-101
@giopunt
giopunt / index.html
Created Jul 15, 2017
REDUX TRANING - APPLY UI // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - APPLY UI</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://unpkg.com/react@0.14.0/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@0.14.0/dist/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-redux/4.0.0/react-redux.js"></script>
@giopunt
giopunt / index.html
Created Jul 14, 2017
REDUX TRANING - APPLY UI // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - APPLY UI</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://unpkg.com/react@0.14.0/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@0.14.0/dist/react-dom.js"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 14, 2017
REDUX TRANING - APPLY UI // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - APPLY UI</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://unpkg.com/react@0.14.0/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@0.14.0/dist/react-dom.js"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 14, 2017
REDUX TRANING - APPLY UI // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - APPLY UI</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://unpkg.com/react@0.14.0/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@0.14.0/dist/react-dom.js"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 14, 2017
REDUX TRANING - APPLY UI // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - APPLY UI</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://unpkg.com/react@0.14.0/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@0.14.0/dist/react-dom.js"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 13, 2017
REDUX TRANING - COMBINE REDUCERS MANUALLY // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - COMBINE REDUCERS from scratch</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://wzrd.in/standalone/expect@latest"></script>
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 12, 2017
REDUX TRANING - COMBINE REDUCERS MANUALLY // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - COMBINE REDUCERS MANUALLY</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.0.4/redux.js"></script>
<script src="https://wzrd.in/standalone/expect@latest"></script>
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
@giopunt
giopunt / index.html
Created Jul 12, 2017
REDUX TRANING - EXPECTATIONS // source https://jsbin.com/xareso
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - EXPECTATIONS</title>
<script src="https://wzrd.in/standalone/expect@latest"></script>
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
<body>
@giopunt
giopunt / index.html
Created Jul 6, 2017
REDUX TRANING - EXPECTATIONS // source https://jsbin.com/sovojel
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>REDUX TRANING - EXPECTATIONS</title>
<script src="https://wzrd.in/standalone/expect@latest"></script>
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
<body>
You can’t perform that action at this time.