Skip to content

Commit

Permalink
chore: add missing use strict directives (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Oct 19, 2023
1 parent 75d2901 commit e2a6f62
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
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

0 comments on commit e2a6f62

Please sign in to comment.