This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# drop in irb | |
voices = ["Agnes", "Kathy", "Princess", "Vicki", "Victoria", "Bruce", "Fred", | |
"Junior", "Ralph", "Albert", "Bad News", "Bahh", "Bells", "Boing", "Bubbles", | |
"Cellos", "Deranged", "Good News", "Hysterical", "Pipe Organ", "Trinoids", "Whisper", "Zarvox"] | |
statement = "balls" | |
voices.each do |v| | |
`say -v #{v} #{statement}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jsdom from 'jsdom'; | |
import assert from 'assert'; | |
describe('suite', () => { | |
let React, utils, Component; | |
before(() => { | |
global.document = jsdom.jsdom('<!DOCTYPE html><html><head></head><body></body></html>'); | |
global.window = document.parentWindow; | |
global.navigator = {userAgent: 'node.js'}; |