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
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
14.0.0
Amplify CLI Version
5.1.0
What operating system are you using?
Windows
Amplify Categories
Not applicable
Amplify Commands
Not applicable
Describe the bug
Location path in different operating systems is defined with varied usage of forward and back slashes,
resource tests need to made OS-specific in order to avoid failure of test cases
Resource tests has function calls being made whose file path aren't being located due to the above discrepancy:
Line 218: packages\amplify-cli\src_tests_\extensions\amplify-helpers\remove-resource.test.ts
Before opening, please confirm:
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
14.0.0
Amplify CLI Version
5.1.0
What operating system are you using?
Windows
Amplify Categories
Not applicable
Amplify Commands
Not applicable
Describe the bug
Location path in different operating systems is defined with varied usage of forward and back slashes,
resource tests need to made OS-specific in order to avoid failure of test cases
Resource tests has function calls being made whose file path aren't being located due to the above discrepancy:
Line 218: packages\amplify-cli\src_tests_\extensions\amplify-helpers\remove-resource.test.ts
expect(context.filesystem.remove).toBeCalledWith('backendDirPath/function/lambda1');
Expected behavior
Make file location path format os-specific
Reproduction steps
GraphQL schema(s)
# Put schemas below this line
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: