Compare commits
No commits in common. "57c0a247c0d21b9b59c984d38fdab377bd5f44df" and "c5c0ca450b39c3988653a71129ec9739b9172e40" have entirely different histories.
57c0a247c0
...
c5c0ca450b
@ -5,7 +5,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: test & build
|
||||
image: node:20.8.1-bookworm
|
||||
image: node:18.16.1-bookworm
|
||||
commands:
|
||||
# - git config --global --add safe.directory "/drone/src"
|
||||
- corepack enable
|
||||
@ -17,7 +17,7 @@ steps:
|
||||
npm_config_registry: https://registry.npmmirror.com
|
||||
|
||||
- name: publish
|
||||
image: node:20.8.1-bookworm
|
||||
image: node:18.16.1-bookworm
|
||||
environment:
|
||||
DRONE_GITEA_SERVER: https://git.unlock-music.dev
|
||||
GITEA_API_KEY:
|
||||
|
4
.npmrc
4
.npmrc
@ -1,3 +1,3 @@
|
||||
use-node-version=20.8.1
|
||||
node-version=20.8.1
|
||||
use-node-version=18.16.0
|
||||
node-version=18.16.0
|
||||
engine-strict=true
|
||||
|
@ -33,7 +33,7 @@ export function AppRoot() {
|
||||
</Tab>
|
||||
<Tab>
|
||||
<Icon as={MdQuestionAnswer} mr="1" />
|
||||
<chakra.span>答疑</chakra.span>
|
||||
<chakra.span>问答</chakra.span>
|
||||
</Tab>
|
||||
</TabList>
|
||||
|
||||
|
@ -16,8 +16,9 @@ export function SegmentAddKeyDropdown() {
|
||||
ml="2"
|
||||
borderTopLeftRadius={0}
|
||||
borderBottomLeftRadius={0}
|
||||
pointerEvents="none"
|
||||
aria-label="下拉按钮"
|
||||
isDisabled
|
||||
css={{ ':disabled': { opacity: 1 } }}
|
||||
aria-label="示例按钮"
|
||||
/>
|
||||
</Flex>
|
||||
);
|
||||
|
@ -18,16 +18,15 @@ test('should be able to forward request to worker client bus', async () => {
|
||||
vi.spyOn(bus, 'request').mockImplementation(
|
||||
async (actionName: DECRYPTION_WORKER_ACTION_NAME, payload: unknown): Promise<unknown> => {
|
||||
return { actionName, payload };
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
const queue = new DecryptionQueue(bus, 1);
|
||||
await expect(queue.add({ id: 'file://1', blobURI: 'blob://mock-file', options: {} })).resolves.toEqual({
|
||||
await expect(queue.add({ id: 'file://1', blobURI: 'blob://mock-file' })).resolves.toEqual({
|
||||
actionName: DECRYPTION_WORKER_ACTION_NAME.DECRYPT,
|
||||
payload: {
|
||||
blobURI: 'blob://mock-file',
|
||||
id: 'file://1',
|
||||
options: {},
|
||||
},
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user