We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21a354 commit 938e542Copy full SHA for 938e542
packages/components/popover/__test__/demo.test.js
@@ -5,12 +5,12 @@
5
import path from 'path';
6
import simulate from 'miniprogram-simulate';
7
8
-const mapper = ['base', 'theme', 'placement'];
+const mapper = ['base', 'placement', 'theme'];
9
10
describe('Popover', () => {
11
mapper.forEach((demoName) => {
12
it(`Popover ${demoName} demo works fine`, () => {
13
- const id = load(path.resolve(__dirname, `../_example/${demoName}/index`), demoName);
+ const id = load(path.resolve(__dirname, `../../popover/_example/${demoName}/index`), demoName);
14
const container = simulate.render(id);
15
container.attach(document.createElement('parent-wrapper'));
16
expect(container.toJSON()).toMatchSnapshot();
0 commit comments