mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-28 17:48:52 +00:00
e1e35eb83b
We are refactoring the supervisor test suite into unit tests (for algorithms an domain model tests) and integration tests (for interaction with out-of-process dependencies). This means the current test suite needs to be classified into these two categories, and fixed whenever possible. This commit moves the test suite under the `test/legacy` folder, this folder should be progressively migrated and eventually removed. Subsequent commits will begin to split these files into unit and integration whenever possible. Depends-on: #1996 Change-type: patch
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'));
|
|
});
|