-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example of error without file info to sample.txt and expected.txt
- Loading branch information
1 parent
e6b55e6
commit 6e11cda
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<testsuite name="Typescript type errors" tests="2" failures="2"> | ||
<testsuite name="Typescript type errors" tests="3" failures="3"> | ||
<testcase name="TS2551" classname="index.js:34:30"> | ||
<failure type="TS2551" message="Property 'TracingDataset' does not exist on type 'Options'. Did you mean 'TracingDatase'?"/> | ||
</testcase> | ||
<testcase name="TS2345" classname="index.test.js:52:5"> | ||
<failure type="TS2345" message="Argument of type '{ APIHost: string; APIKey: string; GlobalMetadata: { global: string; }; DesiredSampleRate: number; TracingDataset: string; }' is not assignable to parameter of type 'Options | "mock"'."/> | ||
</testcase> | ||
<testcase name="TS2688" classname="N/A:N/A:N/A"> | ||
<failure type="TS2688" message="Cannot find type definition file for 'ember__test-helpers'."/> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
index.js(34,30): error TS2551: Property 'TracingDataset' does not exist on type 'Options'. Did you mean 'TracingDatase'? | ||
index.test.js(52,5): error TS2345: Argument of type '{ APIHost: string; APIKey: string; GlobalMetadata: { global: string; }; DesiredSampleRate: number; TracingDataset: string; }' is not assignable to parameter of type 'Options | "mock"'. | ||
Object literal may only specify known properties, but 'TracingDataset' does not exist in type 'Options'. Did you mean to write 'TracingDatase'? | ||
error TS2688: Cannot find type definition file for 'ember__test-helpers'. |