|
|
@@ -25,19 +25,6 @@ chai.Assertion.addMethod('equalPos', function(expectedPos) {
|
|
|
// Mock ExposedSettings
|
|
|
window.ExposedSettings = {}
|
|
|
|
|
|
-// Mock the file operation I18n names that are stored in the DOM
|
|
|
-function mockFileOperationI18nNames(id, text) {
|
|
|
- const el = document.createElement('div')
|
|
|
- el.id = id
|
|
|
- el.innerText = text
|
|
|
- el.setAttribute('hidden', true)
|
|
|
- document.body.appendChild(el)
|
|
|
-}
|
|
|
-mockFileOperationI18nNames('file_action_edited_str', 'edited')
|
|
|
-mockFileOperationI18nNames('file_action_renamed_str', 'renamed')
|
|
|
-mockFileOperationI18nNames('file_action_created_str', 'created')
|
|
|
-mockFileOperationI18nNames('file_action_deleted_str', 'deleted')
|
|
|
-
|
|
|
/*
|
|
|
* Bundle all test files together into a single bundle, and run tests against
|
|
|
* this single bundle.
|