fix test
This commit is contained in:
parent
9acc36185b
commit
7706c38d3d
35 changed files with 2 additions and 2 deletions
13
packages/backend/test/prelude/url.ts
Normal file
13
packages/backend/test/prelude/url.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import * as assert from 'assert';
|
||||
import { query } from '../../src/prelude/url';
|
||||
|
||||
describe('url', () => {
|
||||
it('query', () => {
|
||||
const s = query({
|
||||
foo: 'ふぅ',
|
||||
bar: 'b a r',
|
||||
baz: undefined
|
||||
});
|
||||
assert.deepStrictEqual(s, 'foo=%E3%81%B5%E3%81%85&bar=b%20a%20r');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue