File tree Expand file tree Collapse file tree 7 files changed +28
-10
lines changed Expand file tree Collapse file tree 7 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > </ title >
6+ < script type ="module " src ="js/main.js "> </ script >
7+ </ head >
8+ < body >
9+ </ body >
10+ </ html >
Original file line number Diff line number Diff line change 1+ import * as api from './index' ;
2+
3+ ( window as any ) . api = api ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { rmSync } from 'fs' ;
2+
3+ export const cleanup = ( dir : string ) => {
4+ rmSync ( `./test/e2e/generated/${ dir } /` , {
5+ force : true ,
6+ recursive : true ,
7+ } ) ;
8+ } ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { copyFileSync } from 'fs' ;
2+
3+ export const copyAsset = ( fileNameIn : string , fileNameOut : string ) => {
4+ copyFileSync ( `./test/e2e/assets/${ fileNameIn } ` , `./test/e2e/generated/${ fileNameOut } ` ) ;
5+ } ;
Original file line number Diff line number Diff line change 11import { generate as __generate } from '../../../' ;
22
3- export const generate = async (
3+ export const generateClient = async (
44 dir : string ,
55 version : string ,
6- client : 'fetch' | 'xhr' | 'node' | 'axios' ,
6+ client : 'fetch' | 'xhr' | 'node' | 'axios' | 'angular' ,
77 useOptions : boolean = false ,
88 useUnionTypes : boolean = false ,
99 clientName ?: string
You can’t perform that action at this time.
0 commit comments