File tree 6 files changed +22
-22
lines changed
6 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ module.exports = async function main() {
9
9
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa" ,
10
10
{
11
11
input : {
12
- text : "Claire CommonJS"
13
- }
12
+ text : "Claire CommonJS" ,
13
+ } ,
14
14
}
15
15
) ;
16
16
} ;
Original file line number Diff line number Diff line change 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" ) ;
4
4
5
- test ( ' main' , async ( ) => {
5
+ test ( " main" , async ( ) => {
6
6
const output = await main ( ) ;
7
7
assert . equal ( output , "hello Claire CommonJS" ) ;
8
8
} ) ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ export default async function main() {
9
9
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa" ,
10
10
{
11
11
input : {
12
- text : "Evelyn ESM"
13
- }
12
+ text : "Evelyn ESM" ,
13
+ } ,
14
14
}
15
15
) ;
16
- } ;
16
+ }
Original file line number Diff line number Diff line change 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" ;
4
4
5
- test ( ' main' , async ( ) => {
5
+ test ( " main" , async ( ) => {
6
6
const output = await main ( ) ;
7
7
assert . equal ( output , "hello Evelyn ESM" ) ;
8
8
} ) ;
Original file line number Diff line number Diff line change 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" ;
4
4
5
5
// Verify exported types.
6
- import type {
6
+ import type {
7
7
Status ,
8
8
Visibility ,
9
9
WebhookEventType ,
@@ -18,7 +18,7 @@ import type {
18
18
ServerSentEvent ,
19
19
} from "replicate" ;
20
20
21
- test ( ' main' , async ( ) => {
21
+ test ( " main" , async ( ) => {
22
22
const output = await main ( ) ;
23
23
assert . equal ( output , "hello Tracy TypeScript" ) ;
24
- } ) ;
24
+ } ) ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ export default async function main() {
9
9
"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa" ,
10
10
{
11
11
input : {
12
- text : "Tracy TypeScript"
13
- }
12
+ text : "Tracy TypeScript" ,
13
+ } ,
14
14
}
15
15
) ;
16
- } ;
16
+ }
You can’t perform that action at this time.
0 commit comments