last update: Jul 2019
- macOS >= 10.14 (Mojave)
- homebrew properly installed
``` | |
{ | |
"gerencia":{ | |
"_id":2, | |
"departamento":{ | |
"_id":1, | |
"nome":"Vendas", | |
"encarregado":{ | |
"_id":2, | |
"nome":"Jonas", |
last update: Jul 2019
http://angular.github.io/protractor/#/api
Note: Most commands return promises, so you only resolve their values through using jasmine expect API or using .then(function()) structure
Based on this post: https://spagettikoodi.wordpress.com/2015/01/14/angular-testing-cheat-sheet/ by @crystoll
browser.get('yoururl'); // Load address, can also use '#yourpage'
// Karma configuration file, see link for more information | |
// https://karma-runner.github.io/0.13/config/configuration-file.html | |
module.exports = function (config) { | |
config.set({ | |
basePath: '', | |
frameworks: ['jasmine', '@angular/cli'], | |
plugins: [ | |
require('karma-jasmine'), | |
require('karma-chrome-launcher'), |
guia do GIT | |
Aprendendo Git de forma interativa > https://try.github.io/levels/1/challenges/1 | |
git init | |
Inicia repositório no local desejado | |
git config --global user.name | |
git config --global user.email | |
Configura os dados do repositório |
Comandos básicos gulp | |
Instalar o gulp (necessário nodejs server) | |
$ npm install --global gulp-cli | |
Iniciar o gulp nas dependencias do projeto | |
$ npm install --save-dev gulp | |