balena-supervisor/test/01-constants.spec.ts
Cameron Diver b5a427f2b9
Convert some coffeescript tests to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-30 10:58:32 +00:00

15 lines
467 B
TypeScript

import ChaiConfig = require('./lib/chai-config');
import prepare = require('./lib/prepare');
const { expect } = ChaiConfig;
import constants = require('../src/lib/constants');
describe('constants', function() {
before(() => prepare());
it('has the correct configJsonPathOnHost', () =>
expect(constants.configJsonPathOnHost).to.equal('/config.json'));
it('has the correct rootMountPoint', () =>
expect(constants.rootMountPoint).to.equal('./test/data'));
});