Browse Source

Update how-2-js_test.js

pull/540/head
Clément 4 years ago committed by GitHub
parent
commit
ee76b82dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      js/tests/how-2-js_test.js

4
js/tests/how-2-js_test.js

@ -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')`,
),
]

Loading…
Cancel
Save