Skip to content

Commit

Permalink
fix: remove log in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remadex committed Jan 8, 2025
1 parent 3a5cf15 commit ea30904
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/templates/application.gts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class ApplicationRouteComponent extends Component<RouteTemplateSignature<Applica
@service declare flashMessages: FlashMessageService;

flashTypes = (type: 'Success' | 'Warning' | 'Danger') => {
console.log(type);

if (type === 'Warning') {
return 'alert-warning';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ module('Integration | Component | forms/register', function (hooks) {
assert.strictEqual(changeset.get('confirmPassword'), 'hello');
assert.true(changeset.get('isFree'));
assert.deepEqual(changeset.get('period'), [date1, date2]);
console.log(changeset.get('time'));
console.log(date1);
assert.strictEqual(changeset.get('time')?.toISOString(), date1.toISOString());
assert.strictEqual(changeset.get('status'), 'jobseeker');
assert.strictEqual(changeset.get('cv')?.name, 'file.txt');
Expand Down Expand Up @@ -108,8 +106,6 @@ module('Integration | Component | forms/register', function (hooks) {
await pagesFormsRegister.password('hello').confirmPassword('hellos');
await pagesFormsRegister.submit();

console.log(pagesFormsRegister.errors[0]?.text);

assert.true(
pagesFormsRegister.errors[0]?.text?.includes(
'Confirmer mot de passe * Les mots de passe ne correspondent pas'
Expand Down

0 comments on commit ea30904

Please sign in to comment.