Skip to content

Commit 4d4c548

Browse files
committed
Run npm run format on integration files
1 parent 60a8e18 commit 4d4c548

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

integration/commonjs/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ module.exports = async function main() {
99
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
1010
{
1111
input: {
12-
text: "Claire CommonJS"
13-
}
12+
text: "Claire CommonJS",
13+
},
1414
}
1515
);
1616
};

integration/commonjs/index.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const { test } = require('node:test');
2-
const assert = require('node:assert');
3-
const main = require('./index');
1+
const { test } = require("node:test");
2+
const assert = require("node:assert");
3+
const main = require("./index");
44

5-
test('main', async () => {
5+
test("main", async () => {
66
const output = await main();
77
assert.equal(output, "hello Claire CommonJS");
88
});

integration/esm/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export default async function main() {
99
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
1010
{
1111
input: {
12-
text: "Evelyn ESM"
13-
}
12+
text: "Evelyn ESM",
13+
},
1414
}
1515
);
16-
};
16+
}

integration/esm/index.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { test } from 'node:test';
2-
import assert from 'node:assert';
3-
import main from './index.js';
1+
import { test } from "node:test";
2+
import assert from "node:assert";
3+
import main from "./index.js";
44

5-
test('main', async () => {
5+
test("main", async () => {
66
const output = await main();
77
assert.equal(output, "hello Evelyn ESM");
88
});

integration/typescript/index.test.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { test } from 'node:test';
2-
import assert from 'node:assert';
3-
import main from './index.js';
1+
import { test } from "node:test";
2+
import assert from "node:assert";
3+
import main from "./index.js";
44

55
// Verify exported types.
6-
import type {
6+
import type {
77
Status,
88
Visibility,
99
WebhookEventType,
@@ -18,7 +18,7 @@ import type {
1818
ServerSentEvent,
1919
} from "replicate";
2020

21-
test('main', async () => {
21+
test("main", async () => {
2222
const output = await main();
2323
assert.equal(output, "hello Tracy TypeScript");
24-
});
24+
});

integration/typescript/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export default async function main() {
99
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
1010
{
1111
input: {
12-
text: "Tracy TypeScript"
13-
}
12+
text: "Tracy TypeScript",
13+
},
1414
}
1515
);
16-
};
16+
}

0 commit comments

Comments
 (0)