mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-22 18:29:26 +00:00
test(cloudcmd) test/server/prefixer -> server/prefixer
This commit is contained in:
parent
d23118f692
commit
73dc17318e
1 changed files with 1 additions and 2 deletions
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
const test = require('supertape');
|
||||
|
||||
const dir = '../../server/';
|
||||
const prefixer = require(dir + 'prefixer');
|
||||
const prefixer = require('./prefixer');
|
||||
|
||||
test('prefixer: prefix without a slash', (t) => {
|
||||
t.equal(prefixer('hello'), '/hello', 'should add slash');
|
||||
Loading…
Add table
Add a link
Reference in a new issue