@@ -17,7 +17,6 @@ import { Svn } from "../svn";
1717import { Model } from "../model" ;
1818import { SvnFinder , ISvn } from "../svnFinder" ;
1919import { Repository } from "../repository" ;
20- import { timeout } from "../util" ;
2120
2221// Defines a Mocha test suite to group tests of similar kind together
2322suite ( "Repository Tests" , ( ) => {
@@ -29,6 +28,8 @@ suite("Repository Tests", () => {
2928 let model : Model ;
3029
3130 suiteSetup ( async ( ) => {
31+ await testUtil . activeExtension ( ) ;
32+
3233 repoUri = await testUtil . createRepoServer ( ) ;
3334 await testUtil . createStandardLayout ( testUtil . getSvnUrl ( repoUri ) ) ;
3435 checkoutDir = await testUtil . createRepoCheckout (
@@ -103,15 +104,13 @@ suite("Repository Tests", () => {
103104
104105 await repository . addFiles ( [ file ] ) ;
105106
106- await timeout ( 1500 ) ; // Wait the debounce time
107107 assert . equal ( repository . changes . resourceStates . length , 1 ) ;
108108
109109 const message = await repository . commitFiles ( "First Commit" , [
110110 file
111111 ] ) ;
112112 assert . ok ( / C o m m i t t e d r e v i s i o n ( .* ) \. / i. test ( message ) ) ;
113113
114- await timeout ( 1500 ) ; // Wait the debounce time
115114 assert . equal ( repository . changes . resourceStates . length , 0 ) ;
116115
117116 const remoteContent = await repository . show ( file , "HEAD" ) ;
0 commit comments