Skip to content

Instantly share code, notes, and snippets.

View nesterone's full-sized avatar

Igor Nesterenko nesterone

  • Globallogic
  • Kharkiv
View GitHub Profile
import fs from 'fs';
import path, { resolve } from 'path';
import assert from 'assert';
import Module from 'module';
import jsdom from 'jsdom';
import Mocha from 'mocha';
import chokidar from 'chokidar';
// Let's import and globalize testing tools so
// there's no need to require them in each test
<!DOCTYPE html>
<html>
<head>
<title>Getting data back with Datasource</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssbase/base-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssgrids/grids-min.css">
<link rel="stylesheet" type="text/css" href="styles.css">