mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-03 01:22:55 +00:00
This replaces all relative paths in the test suite (e.g `../src/compose/service.ts`) with the aliased path configured through tsconfig. This is a big change but it doesn't affect any functionality
10 lines
341 B
TypeScript
10 lines
341 B
TypeScript
import { expect } from 'chai';
|
|
import * as constants from '~/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'));
|
|
});
|