generated from SAP/repository-template
-
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.
test: Add fixture for sap.ui.suite project
There are some special circumstances when linting sap.ui.suite which were detected by manual testing. Some findings were only reported with a newer version of UI5 linter. It turned out that #290 changed the behavior and fixed the reporting of deprecations within the same library, as previously the @sapui5/types were not loaded properly. It is still unknown why exactly this was happening, but it is fixed now and the added test project should ensure that no similar issues will appear in the future.
- Loading branch information
Showing
6 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions
9
test/fixtures/linter/projects/sap.ui.suite/test/sap/ui/suite/qunit/TaskCircle.qunit.js
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
sap.ui.define([ | ||
"sap/ui/suite/TaskCircle", | ||
"sap/m/DateTimeInput" | ||
], function(TaskCircle, DateTimeInput) { | ||
"use strict"; | ||
// The linter used to only detect the DateTimeInput deprecation in this file. | ||
// It has been solved via https://github.com/SAP/ui5-linter/pull/290. | ||
// This test ensures that it continues to work. | ||
}); |
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
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
Binary file not shown.