Skip to content

Commit

Permalink
🐛 simplify imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Nov 29, 2022
1 parent 7680835 commit 1c9e124
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extra-path",
"version": "1.1.14",
"version": "1.1.15",
"description": "Useful additions to inbuilt path module.",
"main": "index.js",
"module": "index.mjs",
Expand Down
13 changes: 9 additions & 4 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import * as path from "../src";
import {filename} from "../src";
import {symbolname} from "../src";
import {keywordname} from "../src";
import * as path from "../src";
import {
filename,
symbolname,
keywordname,
} from "../src";



Expand All @@ -24,6 +26,9 @@ test("example1", () => {



// NAME
// ----

test("filename", () => {
var a = filename("/home/user/open+source.txt");
expect(a).toBe("open+source");
Expand Down

0 comments on commit 1c9e124

Please sign in to comment.