test(es/modules): Add a test for a fixed issue (#3586)

This commit is contained in:
Donny/강동윤 2022-02-16 20:39:08 +09:00 committed by GitHub
parent d4cac369b0
commit 038e7f8669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"target": "es2020",
"paths": {
"#lib/*": [
"lib/*"
]
},
"baseUrl": "./src"
},
"module": {
"type": "es6"
}
}

View File

@ -0,0 +1,3 @@
import { NekoRoute } from '#lib/structures/route'
console.log(NekoRoute)

View File

@ -0,0 +1 @@
console.log('foo')

View File

@ -0,0 +1,2 @@
import { NekoRoute } from "./src/lib/structures/route";
console.log(NekoRoute);

View File

@ -0,0 +1 @@
console.log('foo');