This commit is contained in:
Taj 2025-10-04 03:05:42 +05:30 committed by GitHub
commit 04dc75f294
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 84 additions and 78 deletions

View file

@ -10,6 +10,7 @@ import {
} from '../src/util';
import { assert, describe, expect, it } from 'vitest';
import * as path from 'path';
describe('util', () => {
describe('uploadUrl', () => {
@ -385,7 +386,7 @@ describe('util', () => {
describe('paths', () => {
it('resolves files given a set of paths', async () => {
assert.deepStrictEqual(paths(['tests/data/**/*', 'tests/data/does/not/exist/*']), [
'tests/data/foo/bar.txt',
path.join('tests', 'data', 'foo', 'bar.txt'),
]);
});
});