Move version out of config.js

We now store this in a file called VERSION inside the tarball
itself.
This commit is contained in:
Girish Ramakrishnan
2018-10-27 10:53:47 -07:00
parent 7ad069fd94
commit 2688a57d46
10 changed files with 15 additions and 18 deletions

View File

@@ -24,9 +24,9 @@ describe('config', function () {
done();
});
it('can get and set version', function (done) {
config._setVersion('1.2.3');
expect(config.version()).to.be('1.2.3');
it('can get version', function (done) {
expect(config.version()).to.be.ok(); // this gets a dummy text string
expect(config.version().includes('\n')).to.not.be.ok();
done();
});