refactor: Rename disabled to enabled in runner config (#11621)

This commit is contained in:
Tomi Turtiainen
2024-11-07 14:22:43 +02:00
committed by GitHub
parent 0c13ad612d
commit d25ae8e0d9
11 changed files with 14 additions and 15 deletions

View File

@@ -18,14 +18,14 @@ describe('TaskRunnerModule in external mode', () => {
describe('start', () => {
it('should throw if the task runner is disabled', async () => {
runnerConfig.disabled = true;
runnerConfig.enabled = false;
// Act
await expect(module.start()).rejects.toThrow('Task runner is disabled');
});
it('should start the task runner', async () => {
runnerConfig.disabled = false;
runnerConfig.enabled = true;
// Act
await module.start();