mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Added node-modules
This commit is contained in:
13
node_modules/piler/spec/hrefupdater.spec.coffee
generated
vendored
Normal file
13
node_modules/piler/spec/hrefupdater.spec.coffee
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
{incUrlSeq} = require "../lib/livecss"
|
||||
|
||||
|
||||
describe "incUrlSeq increases the id in the url", ->
|
||||
url = "/foo/bar.js?v=123"
|
||||
|
||||
it "adds id in to url", ->
|
||||
expect(incUrlSeq url).toBe url.replace('.','--1.')
|
||||
|
||||
it "increases existing id", ->
|
||||
url2 = incUrlSeq url
|
||||
expect(incUrlSeq url2).toBe url.replace('.','--2.')
|
Reference in New Issue
Block a user