Skip to content

Commit 3404b06

Browse files
committed
lint
1 parent c70c6a4 commit 3404b06

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/@apphosting/adapter-angular/src/utils.spec.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { resolve } from "path";
55
import path from "path";
66
import { stringify as yamlStringify } from "yaml";
77
import os from "os";
8-
9-
const { metaFrameworkOutputBundleExists } = await importUtils;
8+
import type { OutputBundleConfig } from "@apphosting/common";
109

1110
function generateTmpDir(): string {
1211
return fs.mkdtempSync(path.join(os.tmpdir(), "test-files"));
@@ -27,17 +26,20 @@ describe("metaFrameworkOutputBundleExists", () => {
2726
process.cwd = originalCwd;
2827
});
2928

30-
it("unrecogznied bundle", async () => {
29+
it("unrecognized bundle", async () => {
30+
const { metaFrameworkOutputBundleExists } = await importUtils;
3131
const content = "chicken: bok bok";
3232
fs.writeFileSync(bundlePath, yamlStringify(content));
3333
assert(!metaFrameworkOutputBundleExists());
3434
});
3535

3636
it("no bundle exists", async () => {
37+
const { metaFrameworkOutputBundleExists } = await importUtils;
3738
assert(!metaFrameworkOutputBundleExists());
3839
});
3940

4041
it("meta-framework bundle exists", async () => {
42+
const { metaFrameworkOutputBundleExists } = await importUtils;
4143
const outputBundle: OutputBundleConfig = {
4244
version: "v1",
4345
runConfig: {
@@ -52,6 +54,7 @@ describe("metaFrameworkOutputBundleExists", () => {
5254
});
5355

5456
it("angular bundle exists", async () => {
57+
const { metaFrameworkOutputBundleExists } = await importUtils;
5558
const outputBundle: OutputBundleConfig = {
5659
version: "v1",
5760

0 commit comments

Comments
 (0)