0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/utils
Daniel Lockyer 828a5d4d5a Restored quick database reset method via table truncation
refs a3cc66be50

- in the referenced commit, I made a util to speed up resetting the DB
  for SQLite by copying the database file
- I inadvertently removed an optimization we had before - where we
  truncate the tables and insert the fixtures instead of dropping the
  entire database
- this would be missing on MySQL tests
- this seems to have a big difference so this commit re-adds the
  optimization in
2022-02-07 21:27:10 +01:00
..
fixtures Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
mocks
admin-utils.js
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js
configUtils.js
db-utils.js Restored quick database reset method via table truncation 2022-02-07 21:27:10 +01:00
e2e-framework-mock-utils.js Fixed IDE derp with requring assert 2022-02-07 19:45:33 +00:00
e2e-framework.js Improved e2e-framework API 2022-02-07 16:09:54 +00:00
e2e-utils.js Restored quick database reset method via table truncation 2022-02-07 21:27:10 +01:00
fixture-utils.js Fixed error wording in fixture-utils 2021-12-07 11:12:10 +04:00
index.js Added extra debug to test utilities 2021-11-19 10:47:21 +00:00
overrides.js
redirects.js
snapshots.js Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
test-agent.js Updated members regression tests to use e2e framework (#14130) 2022-02-07 17:15:55 +00:00
url-service-utils.js Removed unused parameter from isFinished method 2021-11-24 05:32:20 +13:00
urlUtils.js Updated test UrlUtils to use canary by default 2022-01-21 15:12:27 +00:00