Output that shows that mocha runs the tests correctly and jest don't
$ jest
PASS ./test.js
jest vs mocha in supertest
✓ should not work (40ms)
| FROM ruby:2.2.3 | |
| RUN apt-get update -qq && apt-get install -y build-essential libpq-dev | |
| ENV APP_HOME /myapp | |
| RUN mkdir $APP_HOME | |
| WORKDIR $APP_HOME | |
| ENV BUNDLE_PATH /box | |
| ADD . $APP_HOME |
| var col = 11; // this is the column before it will be inserted | |
| $('#intervals-table table thead').find('th').eq(col).after('<td>SPM</td>'); | |
| $('#intervals-table table tbody').find('tr').each(function(){ | |
| var strokes = parseInt($(this).find('td').eq(12).text().trim()); | |
| //console.log(strokes); | |
| var timeString = $(this).find('td').eq(5).text().trim(); | |
| //console.log(timeString); | |
| var regex = /(\d{1,2}):(\d{2})/g; | |
| var result = regex.exec(timeString); | |
| var minutes = parseInt(result[1]); |
| #!/bin/bash | |
| echo 'Monitor-Auto-Setup script is starting...' | |
| ## this should be launched from e.g. ~/.i3/config file. | |
| ## this is a setup with one laptop LVDS1 and 2 monitors, one HDMI and one VGA. | |
| displays="$(xrandr -q)" | |
| if [[ $displays =~ VGA[0-9][[:space:]]connected && $displays =~ HDMI[0-9][[:space:]]connected ]]; then | |
| echo '=== LAPTOP IS PROBABLY DOCKED w/ TWO DISPLAYS ===' | |
| xrandr --verbose --output LVDS1 --off; |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
| @prefix owl: <http://www.w3.org/2002/07/owl#> . | |
| @prefix dc: <http://purl.org/dc/elements/1.1/> . |
| select ?country ?currency ?isocode where { | |
| ?country a <http://dbpedia.org/ontology/Country> . | |
| ?currency a dbpedia-owl:Currency . | |
| ?country ?p ?currency . | |
| ?currency dbpprop:isoCode ?isocode | |
| FILTER NOT EXISTS { ?country dbpedia-owl:dissolutionYear ?disyear } | |
| } LIMIT 1000 |
| Abiola | U | |
|---|---|---|
| Acelya | U | |
| Ada | U | |
| Adama | U | |
| Addis | U | |
| Addison | U | |
| Adi | U | |
| Adian | U | |
| Aezha | U | |
| Agne | U |
| ## Rails App Template | |
| ## Updated for Rails 3.0.3 | |
| ## Forked on 14-01-11 | |
| ## Updated on 14-01-11 | |
| ## Run using $ rails new [appname] -JT -m tpl-railsapp.rb | |
| ## Gems | |
| # Devise for security |
| module Curl | |
| class Easy | |
| def self.performe | |
| puts "TEST method" | |
| end | |
| puts "easy" | |
| attr_accessor :body_str, :header_str, :response_code | |
| end | |
| end |
| set nocompatible " We're running Vim, not Vi! | |
| set ic " Disable case sensitivity | |
| nmap <F7> :NERDTreeToggle<CR> | |
| if has("gui_running") | |
| set guioptions-=T | |
| set background=dark | |
| colorscheme koehler | |
| endif | |
| " http://weblog.jamisbuck.org/2008/11/17/vim-follow-up |