mirror of https://github.com/01-edu/public.git
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.
16 lines
353 B
16 lines
353 B
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')`, |
|
), |
|
]
|
|
|