|
1 | | -import { dirname } from 'https://deno.land/[email protected]/path/mod.ts'; |
2 | | -import { readLines } from 'https://deno.land/[email protected]/io/bufio.ts'; |
3 | | -import { sep } from 'https://deno.land/[email protected]/path/mod.ts'; |
4 | | - |
5 | | -import test1 from './tests/test1.ts'; |
6 | | -import test2 from './tests/test2.ts'; |
7 | | -import test3 from './tests/test3.ts'; |
8 | | -import test4 from './tests/test4.ts'; |
9 | | -import test5 from './tests/test5.ts'; |
10 | | -import test6 from './tests/test6.ts'; |
11 | | -import test7 from './tests/test7.ts'; |
12 | | -import test8 from './tests/test8.ts'; |
13 | | -import test9 from './tests/test9.ts'; |
14 | | -import test10 from './tests/test10.ts'; |
15 | | -import test11 from './tests/test11.ts'; |
16 | | -import test12 from './tests/test12.ts'; |
17 | | -import test13 from './tests/test13.ts'; |
18 | | -import test14 from './tests/test14.ts'; |
19 | | -import test15 from './tests/test15.ts'; |
20 | | -import test16 from './tests/test16.ts'; |
21 | | -import test17 from './tests/test17.ts'; |
| 1 | +import { readLines } from 'https://deno.land/[email protected]/io/bufio.ts'; |
| 2 | +import { SEP, dirname } from 'https://deno.land/[email protected]/path/mod.ts'; |
| 3 | + |
| 4 | +import { default as test1 } from './tests/test1.ts'; |
| 5 | +import { default as test2 } from './tests/test2.ts'; |
| 6 | +import { default as test3 } from './tests/test3.ts'; |
| 7 | +import { default as test4 } from './tests/test4.ts'; |
| 8 | +import { default as test5 } from './tests/test5.ts'; |
| 9 | +import { default as test6 } from './tests/test6.ts'; |
| 10 | +import { default as test7 } from './tests/test7.ts'; |
| 11 | +import { default as test8 } from './tests/test8.ts'; |
| 12 | +import { default as test9 } from './tests/test9.ts'; |
| 13 | +import { default as test10 } from './tests/test10.ts'; |
| 14 | +import { default as test11 } from './tests/test11.ts'; |
| 15 | +import { default as test12 } from './tests/test12.ts'; |
| 16 | +import { default as test13 } from './tests/test13.ts'; |
| 17 | +import { default as test14 } from './tests/test14.ts'; |
| 18 | +import { default as test15 } from './tests/test15.ts'; |
| 19 | +import { default as test16 } from './tests/test16.ts'; |
| 20 | +import { default as test17 } from './tests/test17.ts'; |
22 | 21 |
|
23 | 22 | const promptToContinue = () => { |
24 | 23 | const prompt = 'Press <enter> to run the next test...'; |
@@ -49,7 +48,7 @@ const openPdf = (path: string, reader: string = '') => { |
49 | 48 | const tempDir = () => dirname(Deno.makeTempDirSync()); |
50 | 49 |
|
51 | 50 | const writePdfToTmp = (pdf: Uint8Array) => { |
52 | | - const path = `${tempDir()}${sep}${Date.now()}.pdf`; |
| 51 | + const path = `${tempDir()}${SEP}${Date.now()}.pdf`; |
53 | 52 | Deno.writeFileSync(path, pdf); |
54 | 53 | return path; |
55 | 54 | }; |
@@ -136,6 +135,7 @@ const assets = { |
136 | 135 | }; |
137 | 136 |
|
138 | 137 | export type Assets = typeof assets; |
| 138 | +// export type Assets = any; |
139 | 139 |
|
140 | 140 | // This script can be executed with 0, 1, or 2 CLI arguments: |
141 | 141 | // $ deno index.ts |
|
0 commit comments