Challenge: Deno Formatting, Permissions, and Testing

Practice implementing Deno formatting, permissions, and testing.

Tasks

You are provided initial code setup at the end of this lesson. For this challenge, perform the following tasks:

Task 1: Format all the files in the current directory.
Task 2:
Format the file, but ignore the first line in the code, make suitable changes in the Ignore-lines.js file, and execute it.
Task 3: Serve a deps.js file and serve it from deno.land.
Task 4: Run Hello-world.ts on server port 8080, and use this command to see the output: deno run —-allow-net Hello-world.js.
Task 5: Perform a test on the second test written in the new-file.test.ts file.

Expected output for task 1

The output of the first task must be:

Get hands-on with 1200+ tech skills courses.