diff --git a/test/data/headers/api/get_redirect.js b/test/data/headers/api/get_redirect.js index 02fd662..0ca1008 100644 --- a/test/data/headers/api/get_redirect.js +++ b/test/data/headers/api/get_redirect.js @@ -1,4 +1,5 @@ -module.exports = function(request) { +'use strict'; +module.exports = function() { return { 'httpCode': 303, 'location': 'https://github.com' diff --git a/test/data/scripts/api/users/@scripts/get.js b/test/data/scripts/api/users/@scripts/get.js index cad1dbc..da0a69c 100644 --- a/test/data/scripts/api/users/@scripts/get.js +++ b/test/data/scripts/api/users/@scripts/get.js @@ -1,3 +1,5 @@ +'use strict'; + module.exports = function(request, data) { return { content: {