Socket
Book a DemoInstallSign in
Socket

can-todomvc-test

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-todomvc-test

Tests and assets for the todomvc-steal guide

latest
npmnpm
Version
6.1.0
Version published
Maintainers
5
Created
Source

can-todomvc-test

This project is used to test a CanJS implementation of TodoMVC.
To use it:

  • Install it
npm install can-todomvc-test --save-dev
  • Import it and pass it your application main element:
class TodoMVC extends StacheElement {
  static view = "";
  static props = { ... };
}
customElements.define("todo-mvc", TodoMVC);

...

const todoMvcTest = require("can-todomvc-test");
todoMvcTest(document.querySelector("todo-mvc"));

FAQs

Package last updated on 06 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts