Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Created January 10, 2022 22:10
Show Gist options
  • Save brianleroux/72fb1add864e43875fb44ba59c94c3c7 to your computer and use it in GitHub Desktop.
Save brianleroux/72fb1add864e43875fb44ba59c94c3c7 to your computer and use it in GitHub Desktop.
> @architect/[email protected] test:unit
> cross-env tape 'test/unit/**/*-test.js'
TAP version 13
# Core Architect packages and necessary CLI interfaces are present
ok 1 create found
ok 2 create CLI found
ok 3 deploy found
ok 4 deploy CLI found
ok 5 env found
ok 6 hydrate found
ok 7 hydrate CLI found
ok 8 logs found
ok 9 logs CLI found
ok 10 pkg found
ok 11 pkg CLI found
ok 12 sandbox found
ok 13 sandbox CLI found
ok 14 destroy found
ok 15 destroy CLI found
# All primary dependencies must be version locked
ok 16 @architect/create version is ok: 3.1.1
ok 17 @architect/deploy version is ok: 3.1.1
ok 18 @architect/destroy version is ok: 2.0.3
ok 19 @architect/env version is ok: 2.0.6
ok 20 @architect/hydrate version is ok: 2.2.1
ok 21 @architect/logs version is ok: 3.0.3
ok 22 @architect/package version is ok: 7.2.0
ok 23 @architect/sandbox version is ok: 4.5.1
ok 24 aws-sdk version is ok: 2.880.0
ok 25 chalk version is ok: 4.1.2
ok 26 update-notifier version is ok: 5.1.0
# All secondary dependencies of owned libraries must be semver ~ or pinned
ok 27 @architect/create's owned subdependency versions are ok: ~
ok 28 @architect/deploy's owned subdependency versions are ok: ~
ok 29 @architect/destroy's owned subdependency versions are ok: ~
ok 30 @architect/env's owned subdependency versions are ok: ~
ok 31 @architect/hydrate's owned subdependency versions are ok: ~
ok 32 @architect/logs's owned subdependency versions are ok: ~
ok 33 @architect/package's owned subdependency versions are ok: ~
ok 34 @architect/sandbox's owned subdependency versions are ok: ~
# Help (and defaults)
ok 35 No arg defaults to help
ok 36 No options passed
ok 37 Did not print banner
ok 38 Requesting help succeeds
ok 39 No options passed
ok 40 Did not print banner
ok 41 Requesting help with a command succeeds
ok 42 Options passed: sandbox
ok 43 Did not print banner
# Commands
ok 44 Ran create
ok 45 No options passed
ok 46 Did not print banner
ok 47 Ran create
ok 48 Options passed: ./foo
ok 49 Did not print banner
ok 50 Ran create (via init)
ok 51 No options passed
ok 52 Did not print banner
ok 53 Ran create (via init)
ok 54 Options passed: ./foo
ok 55 Did not print banner
ok 56 Ran version
ok 57 No options passed
ok 58 Did not print banner
ok 59 Ran deploy
ok 60 No options passed
ok 61 Printed banner
ok 62 Ran deploy
ok 63 Options passed: --static
ok 64 Printed banner
ok 65 Ran env
ok 66 No options passed
ok 67 Printed banner
ok 68 Ran env
ok 69 Options passed: --verify
ok 70 Printed banner
ok 71 Ran hydrate
ok 72 No options passed
ok 73 Printed banner
ok 74 Ran hydrate
ok 75 Options passed: --update
ok 76 Printed banner
ok 77 Ran logs
ok 78 No options passed
ok 79 Printed banner
ok 80 Ran logs
ok 81 Options passed: --idk
ok 82 Printed banner
ok 83 Ran package
ok 84 No options passed
ok 85 Printed banner
ok 86 Ran package
ok 87 Options passed: --something
ok 88 Printed banner
ok 89 Ran sandbox
ok 90 No options passed
ok 91 Printed banner
ok 92 Ran sandbox
ok 93 Options passed: --port
ok 94 Printed banner
ok 95 Ran destroy
ok 96 No options passed
ok 97 Printed banner
ok 98 Ran destroy
ok 99 Options passed: --name my-app
ok 100 Printed banner
1..100
# tests 100
# pass 100
# ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment