Re-export sleep from test/utils/ciutils.ts

This commit is contained in:
Takashi Tamura 2022-05-13 08:31:29 +09:00
parent 2bde1b25ba
commit 1c0ae3a2eb
5 changed files with 8 additions and 6 deletions

View File

@ -14,7 +14,7 @@ import {
waitLatexWorkshopActivated,
promisify
} from './utils/ciutils'
import {sleep} from '../src/utils/utils'
import {sleep} from './utils/ciutils'
suite('Build TeX files test suite', () => {

View File

@ -3,7 +3,7 @@ import * as path from 'path'
import * as process from 'process'
import * as fs from 'fs'
import * as os from 'os'
import {sleep} from '../src/utils/utils'
import {sleep} from './utils/ciutils'
import {activate} from '../src/main'
import * as vscode from 'vscode'
import {

View File

@ -8,9 +8,9 @@ import {
getFixtureDir,
runTestWithFixture,
waitLatexWorkshopActivated,
promisify
promisify,
sleep
} from './utils/ciutils'
import {sleep} from '../src/utils/utils'
suite('RootFile test suite', () => {

View File

@ -8,6 +8,8 @@ import {activate} from '../../src/main'
import type {EventName} from '../../src/components/eventbus'
import type {PdfViewerState} from '../../viewer/components/protocol'
export {sleep}
function getWorkspaceRootDir(): string | undefined {
let rootDir: string | undefined
if (vscode.workspace.workspaceFile) {

View File

@ -13,9 +13,9 @@ import {
runTestWithFixture,
viewPdf,
waitLatexWorkshopActivated,
promisify
promisify,
sleep
} from './utils/ciutils'
import { sleep } from '../src/utils/utils'
suite('PDF Viewer test suite', () => {