Skip to content

Instantly share code, notes, and snippets.

@shepherdwind
Created April 21, 2017 08:45
Show Gist options
  • Save shepherdwind/02a903c06f2dabb67229911d771280ab to your computer and use it in GitHub Desktop.
Save shepherdwind/02a903c06f2dabb67229911d771280ab to your computer and use it in GitHub Desktop.
espower-path-ts
require('intelli-espower-loader');
require('./test/foo.test.js');
// file path test/foo.test.js
throw new Error('123');
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vLnRlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmb28udGVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLElBQUksS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDIn0=
// file path test/foo.test.ts
interface foo {
a: number;
}
throw new Error('123');
@shepherdwind
Copy link
Author

The file test-foo.test.js path should be test/foo.test.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment