forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
353 B
17 lines
353 B
4 years ago
|
import { readFileSync as read } from 'fs'
|
||
|
|
||
|
// /*/ // ⚡
|
||
|
|
||
|
export const tests = [
|
||
|
({ eq }) =>
|
||
|
eq(
|
||
|
read('/jail/student/index.html', 'utf8').trim(),
|
||
|
'<script type="module" src="hello-world.js"></script>',
|
||
|
),
|
||
|
({ eq }) =>
|
||
|
eq(
|
||
|
read('/jail/student/hello-world.js', 'utf8').trim(),
|
||
|
`console.log('Hello World')`,
|
||
|
),
|
||
|
]
|