diff --git a/mobile-oa-h5/src/market/protocol-save-ref.test.js b/mobile-oa-h5/src/market/protocol-save-ref.test.js new file mode 100644 index 00000000..2f53093a --- /dev/null +++ b/mobile-oa-h5/src/market/protocol-save-ref.test.js @@ -0,0 +1,110 @@ +import test from 'node:test' +import assert from 'node:assert/strict' +import { readFileSync } from 'node:fs' +import vm from 'node:vm' +import * as Vue from 'vue' +import { compile } from '@vue/compiler-dom' +import { projectValidation } from './project-assignment.js' + +const source = readFileSync(new URL('../views/market/MarketModuleForm.vue', import.meta.url), 'utf8') +// Render the real loop/slot/ref structure; native host nodes need no browser or service. +const template = source.slice(source.indexOf('