mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 14:47:37 -04:00
Expose Clay version
This commit is contained in:
@@ -121,6 +121,14 @@ describe('Clay', function() {
|
||||
});
|
||||
});
|
||||
|
||||
describe('.version', function() {
|
||||
it('has the correct version', function() {
|
||||
var config = fixture.config(['input', 'text', 'color']);
|
||||
var clay = fixture.clay(config);
|
||||
assert.strictEqual(clay.version, require('../../package.json').version);
|
||||
});
|
||||
});
|
||||
|
||||
describe('.config', function() {
|
||||
it('is a copy not a reference', function() {
|
||||
var config = fixture.config(['input', 'text', 'color']);
|
||||
|
||||
Reference in New Issue
Block a user