slimscroll
Version:
slimscroll is a small commonjs module with no library dependencies (sans jquery) that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook and Google started using in their products recently. slimScroll doesn't occ
55 lines (41 loc) • 1.46 kB
JavaScript
/*
* slimscroll
* http://github.com/yawetse/slimscroll
*
* Copyright (c) 2014 Yaw Joseph Etse. All rights reserved.
*/
;
var should = require('chai').should(),
expect = require('chai').expect,
Linotype = require('../lib/slimscroll'),
Browser = require("zombie"),
path = require("path");
describe('DOM Manipulation', function () {
describe('Initializing Page Settings', function () {
var linotypeTest;
before(function(){
this.browser = new Browser();
this.browser.on("error",function(error){
console.error(error);
});
});
before(function(done){
this.browser.visit("file://"+path.resolve(__dirname,"../example/ssmaster/examples/index.html"),done);
});
it('should set the css of the linotype element', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should add navigation options to the page', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should have at least one section active', function () {
// linotypeTest = new this.browser.window.linotype();
// expect(true).to.equal(false);
});
it('should wrap each section with a table container if vertically centered',function(){});
it('should wrap each slide with a table container if vertically centered',function(){});
it('should activate anchor link of active slide',function(){});
});
});