balena-supervisor/test/01-constants.spec.ts

13 lines
399 B
TypeScript
Raw Normal View History

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