You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
# Instructions for sf-platform
2
2
3
-
This is a repo for multiple unlocked Salesforce packages.
3
+
This is a monorepo for multiple unlocked Salesforce packages.
4
4
5
-
The code is written in apex and lightning web components
5
+
The code inside the src folder is written in apex and lightning web components
6
6
7
-
Do not use SFDX commands only SF commands, sfdx is deprecated.
7
+
Do not use SFDX CLI commands only SF CLI commands, SFDX CLI is deprecated.
8
8
9
-
Prettier is used for styling and the settings are described in .prettierrc
9
+
Prettier is used for styling and our prettier settings are described in .prettierrc
10
10
11
11
Code can be found in the src and src-temp folders
12
12
13
13
When writing test always include System.Test.startTest(); and System.Test.stopTest();. First we prepare the data. The actual test should be placed in side start and stop test. Then we confirm the test results with asserts.
14
14
15
+
We use github actions and out action and workflow files can be found in .github
16
+
15
17
Tests are defined by the @IsTest annotation.
16
18
17
19
When writing tests, the class we're testing often has the same filename as the test class except "Test"
0 commit comments