Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
artrixdotdev committed Sep 24, 2021
1 parent 9305c49 commit d4e1de5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
examples
dist
node_modules
node_modules
tests
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ src/
# Misc
node_modules/
docs.js
tests
browser
7 changes: 7 additions & 0 deletions tests/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const { Client } = require('../');

const TOKEN = process.env.TOKEN;

const client = new Client('?');

client.login(TOKEN);
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"include": ["src/**/*"],
"exclude": ["examples/"],
"exclude": ["examples/", "tests/", "docs/", "dist/"],
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Basic Options */
Expand Down

0 comments on commit d4e1de5

Please sign in to comment.