Skip to content

Commit

Permalink
adding __tests__ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-javascript committed Jun 28, 2024
1 parent d2cfed2 commit f67b496
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ rollup*
.babelrc.js

#development
/build
/sandbox

#demo
Expand Down
4 changes: 2 additions & 2 deletions src/api.factory.test.js → __tests__/api.factory.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ElManagement from './distanceFromFactory.js';
import {Api} from './api.factory.js';
import ElManagement from '../src/distanceFromFactory.js';
import {Api} from '../src/api.factory.js';
let container = document.createElement('div');
let getElManagementIns, ins, buttonElement, containerElement, tablistElement;
beforeAll(() => {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
"files": [
"dist",
"lib",
"!*.test.js",
"!*.test.js.snap",
"index.d.ts"
"src",
"index.d.ts",
"__tests__"
],
"keywords": [
"tabs",
Expand Down

0 comments on commit f67b496

Please sign in to comment.