From f401ea6ff9ad1b080138eee90fe40e5ad4ab2ae6 Mon Sep 17 00:00:00 2001 From: Vincent Morneau <vincent.morneau@gmail.com> Date: Wed, 28 Oct 2020 21:39:55 -0400 Subject: [PATCH] removing ava for now --- package.json | 4 +--- test.js | 34 ---------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 test.js 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(); - } -});