Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add missing use strict directives #673

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions templates/plugin/test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const { test } = require('tap')

test('should register the correct decorator', async t => {
Expand Down
2 changes: 2 additions & 0 deletions test/args.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const t = require('tap')
const test = t.test
const parseArgs = require('../args')
Expand Down
2 changes: 2 additions & 0 deletions test/data/custom-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

module.exports = {
port: 5000,
address: 'fastify.io:9999',
Expand Down
2 changes: 2 additions & 0 deletions test/data/custom-logger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

module.exports = {
name: 'Custom Logger',
customLevels: {
Expand Down
2 changes: 2 additions & 0 deletions test/data/object.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
'use strict'

module.exports = {}
2 changes: 2 additions & 0 deletions test/generate-swagger.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const path = require('path')
const t = require('tap')
const { test } = t
Expand Down
2 changes: 2 additions & 0 deletions util.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const fs = require('fs')
const path = require('path')
const url = require('url')
Expand Down
Loading