feat(taobao): add native mini program with shared backend
Preserve H5 flows while adding Taobao identity, native capture, reports and isolated local development. Fix canceled province selection and expired-session logout. Record passing local regressions, two pre-existing H5 assertion failures and pending platform validation.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Resolve the repository's unmodified H5 browser tests against this project's
|
||||
// local Playwright installation, instead of requiring a global npm install.
|
||||
const cp = require('node:child_process'), path = require('node:path');
|
||||
const original = cp.execSync;
|
||||
cp.execSync = function (command, options) {
|
||||
if (command === 'npm root -g') {
|
||||
const value = path.resolve(__dirname, '../node_modules') + '\n';
|
||||
return options && options.encoding ? value : Buffer.from(value);
|
||||
}
|
||||
return original.apply(this, arguments);
|
||||
};
|
||||
require('node:module').syncBuiltinESMExports();
|
||||
Reference in New Issue
Block a user