File tree Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Expand file tree Collapse file tree 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() {
99 "replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa" ,
1010 {
1111 input : {
12- text : "Claire CommonJS"
13- }
12+ text : "Claire CommonJS" ,
13+ } ,
1414 }
1515 ) ;
1616} ;
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" ) ;
44
5- test ( ' main' , async ( ) => {
5+ test ( " main" , async ( ) => {
66 const output = await main ( ) ;
77 assert . equal ( output , "hello Claire CommonJS" ) ;
88} ) ;
Original file line number Diff line number Diff 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+ }
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" ;
44
5- test ( ' main' , async ( ) => {
5+ test ( " main" , async ( ) => {
66 const output = await main ( ) ;
77 assert . equal ( output , "hello Evelyn ESM" ) ;
88} ) ;
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" ;
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+ } ) ;
Original file line number Diff line number Diff 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+ }
You can’t perform that action at this time.
0 commit comments