Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ export function getSqliteDriverModuleDetails(
url: string;
} {
switch (version) {

case 'develop':
/** @ts-ignore */
return {
size: 215141,
size: 215168,
url: url_develop,
};
case 'v2.1.16':
Expand Down
Binary file not shown.
9 changes: 9 additions & 0 deletions packages/playground/wordpress/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,15 @@ class Playground_SQLite_Integration_Loader {
require_once ${phpVar(SQLITE_MUPLUGIN_PATH)};
}
}
/**
* The Query Monitor plugin short-circuits in the CLI SAPI. However, in Playground,
* the SAPI is always "cli" at the moment. Let's set a constant to disable the CLI
* detection.
*
* @see https://github.com/WordPress/sqlite-database-integration/pull/212
* @see https://github.com/WordPress/sqlite-database-integration/pull/215
*/
define('QM_TESTS', true);
$wpdb = $GLOBALS['wpdb'] = new Playground_SQLite_Integration_Loader();

/**
Expand Down
Loading