mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 23:27:20 +03:00
Re-export sleep from test/utils/ciutils.ts
This commit is contained in:
parent
2bde1b25ba
commit
1c0ae3a2eb
@ -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', () => {
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -8,9 +8,9 @@ import {
|
||||
getFixtureDir,
|
||||
runTestWithFixture,
|
||||
waitLatexWorkshopActivated,
|
||||
promisify
|
||||
promisify,
|
||||
sleep
|
||||
} from './utils/ciutils'
|
||||
import {sleep} from '../src/utils/utils'
|
||||
|
||||
suite('RootFile test suite', () => {
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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', () => {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user