Improve specs with plain string comparison for security_training_promo_widget_spec.js
More details here > !99547 (comment 1130192465)
How about not importing them at all?
Asserting against a plain string = stronger test. If someone or something changes the i18n string, a test will fail
// Good
expect(findUpdateIgnoreStatusButton().text()).toBe(i18n.UpdateIgnoreText);
// Better
expect(findUpdateIgnoreStatusButton().text()).toBe(__('Ignore'));