From 9418af0d525d8c2daba37672023a86a3232fd333 Mon Sep 17 00:00:00 2001 From: Valerie Date: Sun, 23 May 2021 18:58:59 -0400 Subject: [PATCH] works on WINDOWS?!?! --- .nycrc.json | 9 --------- test/extensions.test.ts | 1 - test/lexer.test.ts | 2 +- test/tsconfig.json | 8 ++------ 4 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 .nycrc.json diff --git a/.nycrc.json b/.nycrc.json deleted file mode 100644 index c686840..0000000 --- a/.nycrc.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extension": [ - ".ts" - ], - "require": [ - "ts-node/esm.mjs" - ], - "cache": false -} \ No newline at end of file diff --git a/test/extensions.test.ts b/test/extensions.test.ts index d22e16e..6f193f6 100644 --- a/test/extensions.test.ts +++ b/test/extensions.test.ts @@ -1,6 +1,5 @@ import { expect } from 'chai'; import '../src/extensions.ts'; -import sinon from 'sinon'; describe('extensions', () => { it('creates empty array extensions', () => { diff --git a/test/lexer.test.ts b/test/lexer.test.ts index 4fb6262..98d6805 100644 --- a/test/lexer.test.ts +++ b/test/lexer.test.ts @@ -1,4 +1,4 @@ -import { createAst } from '../out/createAst.js'; +import { createAst } from '../src/createAst.js'; import { expect } from 'chai'; import * as ModuleFiles from './lib/ModuleFiles.js' diff --git a/test/tsconfig.json b/test/tsconfig.json index 0472462..055efbf 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -1,12 +1,8 @@ { "compilerOptions": { - "module": "esnext", + "module": "ES6", "moduleResolution": "node", - "strict": true, - "allowSyntheticDefaultImports": true, - "target": "esnext", - "sourceMap": true, - "declaration": true + "target": "es2020" }, "include": [ "**/*.ts"