mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
4a2ac557ef
'mz' can be safely replaced with fs.promises and util.promisify for faster native methods. 'mkdirp' after Node v8 uses native fs.mkdir, thus is redundant. 'body-parser' is deprecated and contained within express v4.x. Closes: #1567 Change-type: patch Signed-off-by: Christina Wang <christina@balena.io>
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
import { expect } from 'chai';
|
|
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'));
|
|
});
|