mirror of
https://github.com/smogon/sprites.git
synced 2026-07-12 22:21:34 -05:00
deploy/script: small test for debug
This commit is contained in:
parent
b79a6ea804
commit
a1e894c193
|
|
@ -10,12 +10,13 @@ const spriteSrc = path.join(__dirname, "src");
|
|||
it('aq', () => {
|
||||
const aq = new script.ActionQueue();
|
||||
aq.copy("foo", "bar");
|
||||
aq.debug("test");
|
||||
aq.copy("baz", "./bar");
|
||||
aq.copy("baz", "/bar")
|
||||
|
||||
expect(aq.log).toEqual(expect.arrayContaining([
|
||||
{type: 'Copy', src: 'foo', dst: "bar", valid: 'Multiple', debugObjs: []},
|
||||
{type: 'Copy', src: 'baz', dst: "bar", valid: 'Multiple', debugObjs: []},
|
||||
{type: 'Copy', src: 'baz', dst: "bar", valid: 'Multiple', debugObjs: ["test"]},
|
||||
{type: 'Copy', src: 'baz', dst: "/bar", valid: 'Absolute', debugObjs: []},
|
||||
]));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user