Testy / TestyTs

✔️ Modern TypeScript testing framework.
http://testy.github.io
ISC License
123 stars 8 forks source link

Unexpected token } in JSON #42

Closed gp-slick-coder closed 4 years ago

gp-slick-coder commented 4 years ago

Error on the following tsconfig.json file.

testyts An error occured while executing the following command: C:\Program Files\nodejs\node.exe C:\Users\mail\AppData\Roaming\npm\node_modules\testyts\build\testy.js. Error: "client\tsconfig.json: Unexpected token } in JSON at position 229"

{
    "compilerOptions": {
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "module": "commonjs",
        "target": "ES2016",
        "outDir": "dist",
        "sourceMap": true,
    },
    "include": [
        "src/**/*",
        "tests/**/*",
        "typings-custom/**/*.d.ts",
    ],
    "exclude": [
        "dist"
    ]
}

lg.g.

gp-slick-coder commented 4 years ago

ok, testyts is a little bit picky ;-)

this is working:

{
    "compilerOptions": {
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "module": "commonjs",
        "target": "ES2016",
        "outDir": "dist",
        "sourceMap": true
    },
    "include": [
        "src/**/*",
        "tests/**/*",
        "typings-custom/**/*.d.ts"
    ],
    "exclude": [
        "dist"
    ]
}