Update how-2-js_test.js

This commit is contained in:
Clément 2020-05-31 22:16:20 +02:00 committed by GitHub
parent 52adf5c8fd
commit ee76b82dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,11 +6,11 @@ export const tests = [
({ eq }) =>
eq(
read('/jail/student/index.html', 'utf8').trim(),
'<script type="module" src="hello-world.js"></script>',
'<script type="module" src="how-2-js.js"></script>',
),
({ eq }) =>
eq(
read('/jail/student/hello-world.js', 'utf8').trim(),
read('/jail/student/how-2-js.js', 'utf8').trim(),
`console.log('Hello World')`,
),
]