(
file: any,
formattedFile: any,
options: any = {},
)
| 5 | import { ExtensionConstants } from "../../constants"; |
| 6 | |
| 7 | export async function formatSameAsBladeFormatter( |
| 8 | file: any, |
| 9 | formattedFile: any, |
| 10 | options: any = {}, |
| 11 | ) { |
| 12 | const { actual, source } = await format(options.workspace ?? "project", file); |
| 13 | const formatted = await getContent( |
| 14 | options.workspace ?? "project", |
| 15 | formattedFile, |
| 16 | ); |
| 17 | assert.equal(actual, formatted); |
| 18 | } |
| 19 | |
| 20 | export async function getDoc(filename: string): Promise<TextDocument> { |
| 21 | const base = getWorkspaceFolderUri("project"); |
no test coverage detected