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
347 B
16 lines
347 B
import { readFileSync as read } from 'fs' |
|
|
|
// /*/ // ⚡ |
|
|
|
export const tests = [ |
|
({ eq }) => |
|
eq( |
|
read('/jail/student/index.html', 'utf8').trim(), |
|
'<script type="module" src="how-2-js.js"></script>', |
|
), |
|
({ eq }) => |
|
eq( |
|
read('/jail/student/how-2-js.js', 'utf8').trim(), |
|
`console.log('Hello World')`, |
|
), |
|
]
|
|
|