Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a smaller package #6

Merged
merged 14 commits into from
Aug 9, 2021
Prev Previous commit
Next Next commit
Update test location
  • Loading branch information
tsekityam committed Aug 9, 2021
commit 6cea421b45a2afdbe9a599fdc59361f07737557b
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require": ["ts-node/register", "source-map-support/register"],
"recursive": true,
"spec": "test/test.ts"
"spec": "./src/**/*.spec.ts"
}
3 changes: 2 additions & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "@istanbuljs/nyc-config-typescript"
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": ["**/*.spec.ts"]
}
2 changes: 1 addition & 1 deletion test/test.ts → src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from "assert";
import * as hkid from "../src";
import * as hkid from ".";

describe("hkid", function () {
describe("validate", function () {
Expand Down