Skip to content

Commit 59aef9d

Browse files
committed
test: ! reset settings on each test
1 parent 7e4ae91 commit 59aef9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Scripting/Includes.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
import { getSettings } from '../../src/Config/Settings';
1+
import { getSettings, resetSettings } from '../../src/Config/Settings';
22
import { Query } from '../../src/Query/Query';
33
import { TasksFile } from '../../src/Scripting/TasksFile';
44

5+
afterEach(() => {
6+
resetSettings();
7+
});
8+
59
describe('include tests', () => {
610
it('should accept whole-line include placeholder', () => {
711
const source = '{{include.not_done}}';

0 commit comments

Comments
 (0)