Skip to content

Commit

Permalink
test: better ts syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
senyai committed Mar 23, 2024
1 parent bb34155 commit 05f157e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/suite/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'path';
import * as Mocha from 'mocha';
import * as glob from 'glob';
import Mocha from 'mocha';
import glob from 'glob';

export function run(): Promise<void> {
// Create the mocha test
Expand Down
4 changes: 2 additions & 2 deletions src/test/suite/resourceActionsSuite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export function resourceActionsSuite(this: Suite): void {

await commands.executeCommand('fossil.add', resource);
await repository.updateModelState();
assert(!repository.untrackedGroup.includesUri(uri));
assert(repository.stagingGroup.includesUri(uri));
assert.ok(!repository.untrackedGroup.includesUri(uri));
assert.ok(repository.stagingGroup.includesUri(uri));
}).timeout(5000);

test('fossil add untracked', async () => {
Expand Down

0 comments on commit 05f157e

Please sign in to comment.