Skip to content

Commit

Permalink
chore: fix unit test error due to platform differences
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Jan 22, 2024
1 parent e2ac4f6 commit de9e604
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ describe('SalesforcePackageBuilder', () => {
await packageBuilder.addFiles([ 'src/dashboards' ]);

const manifest = packageBuilder.getManifest();
const [ folder, dashBoard ] = [...packageBuilder.getPackage().sourceFiles()];
const [ folder, dashBoard ] = [...packageBuilder.getPackage().sourceFiles()]
.sort((a,b) => a.packagePath.localeCompare(b.packagePath));

expect(folder.packagePath).toEqual('dashboards/MyFolder-meta.xml');
expect(dashBoard.packagePath).toEqual('dashboards/MyFolder/Board.dashboard');
Expand Down

0 comments on commit de9e604

Please sign in to comment.