diff --git a/package.json b/package.json index 964cf70..4db8ca0 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "description": "Front-end development in Oracle APEX at its best", "license": "MIT", "scripts": { - "test": "xo && ava", - "fix": "xo --fix" + "test": "xo" }, "keywords": [ "oracle", @@ -45,7 +44,6 @@ "update-notifier": "^5.0.0" }, "devDependencies": { - "ava": "^3.13.0", "xo": "^0.34.1" }, "xo": { diff --git a/test.js b/test.js deleted file mode 100644 index 5efd220..0000000 --- a/test.js +++ /dev/null @@ -1,34 +0,0 @@ -/* eslint capitalized-comments: ["error", "never"] */ -/* eslint no-unused-vars: ["error", { "caughtErrors": "none" }] */ - -import test from 'ava'; - -// const fs = require('fs'); -// const path = require('path'); - -const util = require('./lib/util/util'); -// const launch = require('./lib/commands/launch'); - -// const originalCwd = process.cwd(); - -// recursive loop through a given folder to find all files -// round here https://stackoverflow.com/a/20525865/2524979 -// function getFiles(dir, files = []) { -// fs.readdirSync(dir).forEach(filename => { -// const filepath = path.join(dir, filename); - -// if (fs.statSync(filepath).isDirectory()) { -// getFiles(filepath, files); -// } else { -// files.push(path.resolve(filepath)); -// } -// }); - -// return files; -// } - -test('pad-str', t => { - if (util.padStr('test', '.js') === 'test.js' && util.padStr('test.js', '.js') === 'test.js') { - t.pass(); - } -});