0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/utils
Daniel Lockyer 1c6583ae03 Set journal_mode to truncate for SQLite in tests
no issue

- we would regularly see IO errors coming from SQLite, which caused
  random regression tests to fail
- the default journal_mode is `delete`, but this is slow and can cause
  issues when multiple tests try to remove the journal file
- `truncate` is faster and shouldn't cause these issues
2020-01-30 11:14:26 +00:00
..
fixtures 2020 2020-01-06 10:51:18 +01:00
mocks Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
api.js Added extra handling for test port conflict errors 2019-11-06 12:48:58 +07:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
index.js Set journal_mode to truncate for SQLite in tests 2020-01-30 11:14:26 +00:00
urlUtils.js Bumped default API for url utils to v3 2019-09-17 09:43:31 +02:00