From 58d7d9f8ffb5f0f1e5d2b5e13c14d71ee1351822 Mon Sep 17 00:00:00 2001 From: Lada Kesseler Date: Tue, 5 Mar 2024 08:40:38 -0800 Subject: [PATCH] . t mocha/typescript --- .eslintignore | 2 +- .gitignore | 1 + package-lock.json | 13 +++++++++++++ package.json | 1 + test/Providers/Mocha/Typescript/Mocha.test.ts | 13 +++++++++++++ 5 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 test/Providers/Mocha/Typescript/Mocha.test.ts diff --git a/.eslintignore b/.eslintignore index d056d5d1..ff772134 100644 --- a/.eslintignore +++ b/.eslintignore @@ -7,4 +7,4 @@ lib/Utilities/*.js lib/Utilities/Logger/*.js test/Utilities/Logger/*.js test/Providers/Jest/*.js - +test/Providers/Mocha/Typescript/*.js diff --git a/.gitignore b/.gitignore index 7de7992b..6f2ba53c 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@ lib/Utilities/**/*.js test/Utilities/**/**.js lib/Providers/Jest/**.js test/Providers/Jest/**.js +test/Providers/Mocha/Typescript/**.js lib/Namer.js lib/Scrubbers/Scrubbers.js lib/Scrubbers/DateScrubber.js diff --git a/package-lock.json b/package-lock.json index b0dbc903..eb4e6239 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "approvals": "bin/index.js" }, "devDependencies": { + "@types/mocha": "^10.0.6", "chai": "^4.3.4", "coveralls": "^3.1.0", "eslint": "^8.15.0", @@ -1893,6 +1894,12 @@ "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, + "node_modules/@types/mocha": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", + "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", + "dev": true + }, "node_modules/@types/node": { "version": "18.7.23", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.23.tgz", @@ -21883,6 +21890,12 @@ "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, + "@types/mocha": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", + "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", + "dev": true + }, "@types/node": { "version": "18.7.23", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.23.tgz", diff --git a/package.json b/package.json index aea170fa..f7694202 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "ts-jest": "^29.0.3" }, "devDependencies": { + "@types/mocha": "^10.0.6", "chai": "^4.3.4", "coveralls": "^3.1.0", "eslint": "^8.15.0", diff --git a/test/Providers/Mocha/Typescript/Mocha.test.ts b/test/Providers/Mocha/Typescript/Mocha.test.ts new file mode 100644 index 00000000..a1bc7d53 --- /dev/null +++ b/test/Providers/Mocha/Typescript/Mocha.test.ts @@ -0,0 +1,13 @@ +//require('approvals').mocha(); + +const assert = require('assert'); + +describe("Mocha Typescript Approvals", () => { + + it("verify", () => { + // verify("Hello From Approvals"); + assert.equal(2, 2); + }); +}); + +