File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/testRunner/unittests/tsbuild Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
namespace ts {
2
2
describe ( "unittests:: tsbuild:: with resolveJsonModule option" , ( ) => {
3
3
let projFs : vfs . FileSystem ;
4
+ const { time, tick } = getTime ( ) ;
4
5
const allExpectedOutputs = [ "/src/dist/src/index.js" , "/src/dist/src/index.d.ts" , "/src/dist/src/hello.json" ] ;
5
6
before ( ( ) => {
6
- projFs = loadProjectFromDisk ( "tests/projects/resolveJsonModuleAndComposite" ) ;
7
+ projFs = loadProjectFromDisk ( "tests/projects/resolveJsonModuleAndComposite" , time ) ;
7
8
} ) ;
8
9
9
10
after ( ( ) => {
@@ -69,7 +70,7 @@ export default hello.hello`);
69
70
for ( const output of [ ...allExpectedOutputs , "/src/dist/src/index.js.map" ] ) {
70
71
assert ( fs . existsSync ( output ) , `Expect file ${ output } to exist` ) ;
71
72
}
72
-
73
+ tick ( ) ;
73
74
const newBuilder = createSolutionBuilder ( host , [ configFile ] , { verbose : true } ) ;
74
75
newBuilder . buildAllProjects ( ) ;
75
76
host . assertDiagnosticMessages (
You can’t perform that action at this time.
0 commit comments